Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
julien balaka
co2
Commits
e326f693
Commit
e326f693
authored
Apr 06, 2018
by
Clément Damiens
Browse files
hotfix #840
parent
484c90c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
assets/js/default/directory.js
View file @
e326f693
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment