fix issue #4585 - fix search in discover home page
parent
384df341e9
commit
cf07026e16
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue