[-] FO : #PSCFV-2993 #PSCFV-2811 - Default carriers and carrier sorting where ignored

This commit is contained in:
mDeflotte
2012-07-04 14:24:56 +00:00
parent fe54f0b5bf
commit abf35f7839
3 changed files with 113 additions and 28 deletions
@@ -126,7 +126,10 @@ class AdminCarriersControllerCore extends AdminController
'cast' => 'intval',
'type' => 'select',
'identifier' => 'id_carrier',
'list' => Carrier::getCarriers((int)Configuration::get('PS_LANG_DEFAULT'), true, false, false, null, Carrier::ALL_CARRIERS)
'list' => array(
-1 => array('id_carrier' => -1, 'name' => $this->l('Best price')),
-2 => array('id_carrier' => -2, 'name' => $this->l('Best grade'))) +
Carrier::getCarriers((int)Configuration::get('PS_LANG_DEFAULT'), true, false, false, null, Carrier::ALL_CARRIERS)
),
'PS_CARRIER_DEFAULT_SORT' => array(
'title' => $this->l('Sort by:'),