Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
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
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
9 years ago
Commit
c5a34e3fada6e8a8841d648f49b3a59acef99a0f
1 parent
4288bf2b
品牌导航修改
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 @
c5a34e3
...
...
@@ -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