Attributes can be set in products now
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user