Add the search by category with the standard search. Again inspired by At-Libitum. re #34

This commit is contained in:
Sébastien Lucas 2013-12-23 08:58:56 +01:00
parent 9a15d0e1a4
commit f8249e73c6
2 changed files with 14 additions and 12 deletions

View file

@ -863,7 +863,7 @@ class PageQueryResult extends Page
}
return;
}
if (empty ($scope) && $this->useTypeahead ()) {
if (empty ($scope)) {
$this->doSearchByCategory ();
return;
}