Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
yangyang
9 years ago
Commit
291893827d68fd874bca4c5faa2e9912c30872c1
2 parents
e1ea3629
c5a34e3f
Merge branch 'feature/web-list' of
http://git.dev.yoho.cn/web/yohobuy
into feature/web-list
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
library/Plugin/HelperSearch.php
library/Plugin/HelperSearch.php
View file @
2918938
...
...
@@ -290,7 +290,8 @@ class HelperSearch
);
foreach
(
$sort
as
$val
)
{
if
(
isset
(
$params
[
'msort'
])
&&
$params
[
'msort'
]
==
$val
[
'sort_id'
])
{
isset
(
$option
[
'brandName'
])
&&
$option
[
'brandName'
]
?
self
::
$listnav
[
2
]
:
self
::
$listnav
[
1
]
=
array
(
$nav_index
=
isset
(
$option
[
'brandName'
])
&&
$option
[
'brandName'
]
?
2
:
1
;
self
::
$listnav
[
$nav_index
]
=
array
(
'sort_id'
=>
$val
[
'sort_id'
],
'name'
=>
$val
[
'sort_name'
],
'href'
=>
self
::
buildurl
(
array
(
...
...
@@ -324,7 +325,8 @@ class HelperSearch
);
foreach
(
$val
[
'sub'
]
as
$mval
)
{
if
(
isset
(
$params
[
'misort'
])
&&
$params
[
'misort'
]
==
$mval
[
'sort_id'
])
{
isset
(
$option
[
'brandName'
])
&&
$option
[
'brandName'
]
?
self
::
$listnav
[
3
]
:
self
::
$listnav
[
2
]
=
array
(
$nav_index
=
isset
(
$option
[
'brandName'
])
&&
$option
[
'brandName'
]
?
3
:
2
;
self
::
$listnav
[
$nav_index
]
=
array
(
'sort_id'
=>
$mval
[
'sort_id'
],
'name'
=>
$mval
[
'sort_name'
],
'href'
=>
''
...
...
Please
register
or
login
to post a comment