|
@@ -180,7 +180,6 @@ class HelperSearch |
|
@@ -180,7 +180,6 @@ class HelperSearch |
180
|
if (isset($data['shopData']) && !empty($data['shopData'])) {
|
180
|
if (isset($data['shopData']) && !empty($data['shopData'])) {
|
181
|
$result['shopEntry'] = array();
|
181
|
$result['shopEntry'] = array();
|
182
|
foreach ($data['shopData'] as $val) {
|
182
|
foreach ($data['shopData'] as $val) {
|
183
|
- $val['shop']['shop_id'] = empty($val['shop']['shop_id']) ? '' : $val['shop']['shop_id'];
|
|
|
184
|
$shopSort = self::shop($val['shop'], $val['shopSort']);
|
183
|
$shopSort = self::shop($val['shop'], $val['shopSort']);
|
185
|
if (empty($shopSort)) {
|
184
|
if (empty($shopSort)) {
|
186
|
continue;
|
185
|
continue;
|
|
@@ -1450,6 +1449,8 @@ class HelperSearch |
|
@@ -1450,6 +1449,8 @@ class HelperSearch |
1450
|
if (self::$total == 0 || empty($shopSort)) {
|
1449
|
if (self::$total == 0 || empty($shopSort)) {
|
1451
|
return $shopEntry;
|
1450
|
return $shopEntry;
|
1452
|
}
|
1451
|
}
|
|
|
1452
|
+ $shop['shop_id'] = empty($shop['shop_id']) ? '' : $shop['shop_id'];
|
|
|
1453
|
+
|
1453
|
$url = Helpers::url('', array('shopId' => $shop['shop_id']), $shop['brand_domain']);
|
1454
|
$url = Helpers::url('', array('shopId' => $shop['shop_id']), $shop['brand_domain']);
|
1454
|
$sort = array();
|
1455
|
$sort = array();
|
1455
|
$sortInfo = array();
|
1456
|
$sortInfo = array();
|
|
@@ -1462,7 +1463,7 @@ class HelperSearch |
|
@@ -1462,7 +1463,7 @@ class HelperSearch |
1462
|
break 2;
|
1463
|
break 2;
|
1463
|
}
|
1464
|
}
|
1464
|
$sortInfo = array();
|
1465
|
$sortInfo = array();
|
1465
|
- $sortInfo['href'] = "{$url}/?msort={$msort['sort_id']}&misort={$misort['sort_id']}&shopId={$shop['shop_id']}";
|
1466
|
+ $sortInfo['href'] = "{$url}&msort={$msort['sort_id']}&misort={$misort['sort_id']}";
|
1466
|
$sortInfo['name'] = $misort['sort_name'];
|
1467
|
$sortInfo['name'] = $misort['sort_name'];
|
1467
|
$sort[] = $sortInfo;
|
1468
|
$sort[] = $sortInfo;
|
1468
|
}
|
1469
|
}
|