[*] BO: Add reference to FrontController
This commit is contained in:
@@ -806,7 +806,7 @@ class FrontControllerCore extends Controller
|
||||
// 'orderwaydefault' => Tools::getProductsOrder('way'),
|
||||
|
||||
$stock_management = Configuration::get('PS_STOCK_MANAGEMENT') ? true : false; // no display quantity order if stock management disabled
|
||||
$order_by_values = array(0 => 'name', 1 => 'price', 2 => 'date_add', 3 => 'date_upd', 4 => 'position', 5 => 'manufacturer_name', 6 => 'quantity');
|
||||
$order_by_values = array(0 => 'name', 1 => 'price', 2 => 'date_add', 3 => 'date_upd', 4 => 'position', 5 => 'manufacturer_name', 6 => 'quantity', 7 => 'reference');
|
||||
$order_way_values = array(0 => 'asc', 1 => 'desc');
|
||||
$this->orderBy = Tools::strtolower(Tools::getValue('orderby', $order_by_values[(int)Configuration::get('PS_PRODUCTS_ORDER_BY')]));
|
||||
$this->orderWay = Tools::strtolower(Tools::getValue('orderway', $order_way_values[(int)Configuration::get('PS_PRODUCTS_ORDER_WAY')]));
|
||||
|
||||
Reference in New Issue
Block a user