fix issue #4585 - fix search in discover home page

stable
Juanfran 2016-10-02 19:04:29 +02:00
parent 384df341e9
commit cf07026e16
1 changed files with 4 additions and 1 deletions

View File

@ -26,10 +26,13 @@ DiscoverSearchBarDirective = () ->
templateUrl: 'discover/components/discover-search-bar/discover-search-bar.html',
bindToController: true,
scope: {
q: "="
q: "=",
filter: "=",
onChange: "&"
},
compile: (element, attrs) ->
if !attrs.q
attrs.q = ''
link: link
}