// Improved SupplyOrders : states & history of reception

This commit is contained in:
bMancone
2012-02-22 16:49:54 +00:00
parent 0349bfb04b
commit 2c45847fa7
3 changed files with 28 additions and 19 deletions
+1
View File
@@ -165,6 +165,7 @@ class SupplyOrderStateCore extends ObjectModel
if ($ids)
$query->where('s.id_supply_order_state NOT IN('.implode(',', array_map('intval', $ids)).')');
$query->orderBy('sl.name ASC');
return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
}