Coroico / AdvSearch

Dynamic content search add-on for MODx Revolution that supports results highlighting, faceted search and search in custom packages
21 stars 14 forks source link

With the liveSearch mode, the search button is displayed #14

Closed Coroico closed 11 years ago

Coroico commented 12 years ago

Even with liveSearch parameter equal to 1, the search button is displayed. It shouldn't be displayed.

Coroico commented 12 years ago

As workaround (and fix ?) modify the AdvSearchForm by replacing

[[+liveSearch:isnot=`1`:then=`<input type="submit" id="[[+asId]]_advsea-submit"  name="sub" value="[[%advsearch.search? &namespace=`advsearch` &topic=`default`]]" />`]]

by:

[[+liveSearch:isnot=`1`:then=`<input type="submit" id="[[+asId]]_advsea-submit"  name="sub" value="[[%advsearch.search? &namespace=`advsearch` &topic=`default`]]" />`:else`=``]]
Coroico commented 11 years ago

Fixed with the commit 40c6e3a