Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
runner
9 years ago
Commit
3c39f6d4bbc3db3776bf3c11c5fa62166a96a365
1 parent
49825fb4
helperSearch.php update
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
library/WebPlugin/HelperSearch.php
library/WebPlugin/HelperSearch.php
View file @
3c39f6d
...
...
@@ -491,6 +491,16 @@ class HelperSearch
'checked'
=>
isset
(
self
::
$params
[
'ageLevel'
])
&&
self
::
$params
[
'ageLevel'
]
==
$href
?
true
:
false
);
}
//如果只有一个选项,默认选中
if
(
count
(
$filter
[
'ageLevel'
],
COUNT_NORMAL
)
===
1
){
self
::
$selected
[
'ageLevel'
]
=
array
(
'name'
=>
$filter
[
'ageLevel'
][
'0'
][
'name'
],
'href'
=>
self
::
buildUrl
(
$params
)
);
$result
[
'0'
][
'checked'
]
=
true
;
}
return
$result
;
}
...
...
Please
register
or
login
to post a comment