Fix order on saving inventory
This commit is contained in:
parent
7acb528829
commit
a0c1553420
1 changed files with 1 additions and 0 deletions
|
|
@ -265,6 +265,7 @@ if (empty($reshook)) {
|
|||
$sql .= ' id.fk_product, id.batch, id.qty_stock, id.qty_view, id.qty_regulated';
|
||||
$sql .= ' FROM '.MAIN_DB_PREFIX.'inventorydet as id';
|
||||
$sql .= ' WHERE id.fk_inventory = '.((int) $object->id);
|
||||
$sql .= $db->order('id.rowid', 'ASC');
|
||||
$sql .= $db->plimit($limit, $offset);
|
||||
|
||||
$db->begin();
|
||||
|
|
|
|||
Loading…
Reference in a new issue