mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-18 07:31:36 +00:00
turn typeahead search on for fulltext search
This commit is contained in:
parent
7b4cad6aa9
commit
1e9e7c0e2f
|
@ -431,7 +431,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
||||||
echo " <input type=\"hidden\" name=\"folderid\" value=\"".$folder->getID()."\" />";
|
echo " <input type=\"hidden\" name=\"folderid\" value=\"".$folder->getID()."\" />";
|
||||||
}
|
}
|
||||||
echo " <input type=\"hidden\" name=\"navBar\" value=\"1\" />";
|
echo " <input type=\"hidden\" name=\"navBar\" value=\"1\" />";
|
||||||
echo " <input name=\"query\" class=\"search-query\" ".($this->params['defaultsearchmethod'] == 'fulltext' ? "" : "id=\"searchfield\"")." data-provide=\"typeahead\" type=\"search\" style=\"width: 150px;\" placeholder=\"".getMLText("search")."\"/>";
|
echo " <input name=\"query\" class=\"search-query\" ".($this->params['defaultsearchmethod'] == 'fulltext_' ? "" : "id=\"searchfield\"")." data-provide=\"typeahead\" type=\"search\" style=\"width: 150px;\" placeholder=\"".getMLText("search")."\"/>";
|
||||||
if($this->params['defaultsearchmethod'] == 'fulltext')
|
if($this->params['defaultsearchmethod'] == 'fulltext')
|
||||||
echo " <input type=\"hidden\" name=\"fullsearch\" value=\"1\" />";
|
echo " <input type=\"hidden\" name=\"fullsearch\" value=\"1\" />";
|
||||||
// if($this->params['enablefullsearch']) {
|
// if($this->params['enablefullsearch']) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user