Attributes can be set in products now

This commit is contained in:
Frank Schubert
2021-07-06 14:56:57 +02:00
parent 002c2565eb
commit ad4ab58332
16 changed files with 893 additions and 14 deletions

View File

@@ -94,7 +94,7 @@ class ProductModel {
$db = FronkDB::singleton();
$where = self::getSqlFilter($filter);
$res = $db->select("Product", "*", "$where ORDER BY name, owner_id");
$res = $db->select("Product", "*", "$where ORDER BY producttech_id, name");
if($db->num_rows($res)) {
while($data = $db->fetch_object($res)) {
$items[] = new Product($data);