Commit e326f693 authored by Clément Damiens's avatar Clément Damiens

hotfix #840

parent 484c90c8
......@@ -107,7 +107,7 @@ function initTypeSearch(typeInit){
if(typeInit == "all") {
searchType = ["organizations", "projects", "events", /*"places",*/ "poi",/* "news",*/ "classified","ressources"/*,"cities"*/];
if(search.value != "")
if(search.value != "" || Object.keys(getSearchLocalityObject()).length > 0)
searchType.push("persons");
//if( $('#main-search-bar').val() != "" ) searchType.push("cities");
indexStepInit = 30;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment