accomplished direct linking of items
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user