// Improved SupplyOrders : states & history of reception
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13539 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user