Commit 663717f4 authored by Ujvari Gergely's avatar Ujvari Gergely

Reallow empty filter search

parent 4f718b5d
...@@ -153,10 +153,6 @@ class StreamSearch ...@@ -153,10 +153,6 @@ class StreamSearch
query: search_query query: search_query
callbacks: callbacks:
search: (query, searchCollection) => search: (query, searchCollection) =>
# Do not search when no facet is given
unless searchCollection.models.length > 0
return
# Assemble the filter json # Assemble the filter json
filter = filter =
streamfilter streamfilter
...@@ -262,7 +258,6 @@ class StreamSearch ...@@ -262,7 +258,6 @@ class StreamSearch
index +=1 index +=1
$scope.annotations = [] $scope.annotations = []
if search_query.length > 0
$timeout => $timeout =>
@search.searchBox.app.options.callbacks.search @search.searchBox.value(), @search.searchBox.app.searchQuery @search.searchBox.app.options.callbacks.search @search.searchBox.value(), @search.searchBox.app.searchQuery
,500 ,500
......
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