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
Rock Zhang
2016-02-16 09:51:29 +0800
Commit
8501182158d3f57f834244a762d91a5c2699d56d
2 parents
ad695f0e
2b7455de
Merge branch 'develop/wap' into beta/wap
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/controllers/Search.php
yohobuy/m.yohobuy.com/application/controllers/Search.php
View file @
8501182
...
...
@@ -113,6 +113,11 @@ class SearchController extends AbstractAction
$classNames
=
Category\ClassModel
::
getClassNames
();
do
{
// 品类名称为空时跳出
if
(
empty
(
$classNames
))
{
break
;
}
/* 精确查一级品类 */
$sorts
=
array_keys
(
$classNames
[
'first'
],
$query
,
true
);
if
(
isset
(
$sorts
[
0
]))
{
...
...
Please
register
or
login
to post a comment