...
|
...
|
@@ -841,22 +841,23 @@ class HelperSearch |
|
|
$url = self::buildUrl(array_merge($params, array(
|
|
|
'order' => 'p_d_asc'
|
|
|
)));
|
|
|
$desc = false;
|
|
|
$active = true;
|
|
|
$active = '';
|
|
|
$desc = true;
|
|
|
|
|
|
}
|
|
|
else if (self::$params['order'] == 'p_d_asc') {
|
|
|
$url = self::buildUrl(array_merge($params, array(
|
|
|
'order' => 'p_d_desc'
|
|
|
)));
|
|
|
$desc = false;
|
|
|
$desc = true;
|
|
|
$active = true;
|
|
|
}
|
|
|
else {
|
|
|
$url = self::buildUrl(array_merge($params, array(
|
|
|
'order' => 'p_d_asc'
|
|
|
)));
|
|
|
$desc = false;
|
|
|
$active = true;
|
|
|
$desc = true;
|
|
|
}
|
|
|
$result = array(
|
|
|
'name' => '折扣',
|
...
|
...
|
|