accomplished direct linking of items

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-11-19 08:40:54 +01:00
parent 0f7fb99eaa
commit 57a18b5957
2 changed files with 34 additions and 9 deletions

View File

@@ -181,8 +181,7 @@ public class StockModule extends BaseHandler implements StockService {
try {
var itemId = Long.parseLong(path.pop());
var item = stockDb.loadItem(owner.dbCode(),itemId);
stockDb.loadProperties(item);
yield sendContent(ex,item);
yield getLocationEntities(item.location(),ex);
} catch (NumberFormatException e) {
yield super.doGet(path,ex);
}