diff --git a/tabellio/searchform/js_macros.pt b/tabellio/searchform/js_macros.pt index 4f721ff..661f280 100644 --- a/tabellio/searchform/js_macros.pt +++ b/tabellio/searchform/js_macros.pt @@ -64,11 +64,11 @@ if(typeof(String.prototype.trim) === "undefined") { (function($) { $().ready(function() { $('.author-autocomplete').each(sync_authors).autocomplete(PORTAL_URL+'/listAuthors', { - 'matchContains': true, 'scroll': true, 'max': 30}).result(autocomplete_ready); + 'cacheLength': 0, 'matchContains': true, 'scroll': true, 'max': 30}).result(autocomplete_ready); $('.polgroup-autocomplete').each(sync_polgroups).autocomplete(PORTAL_URL+'/listPolgroups', { }).result(autocomplete_ready); $('.topic-autocomplete').each(sync_topics).autocomplete(PORTAL_URL+'/listTopics', { - 'matchContains': true, 'scroll': true, 'max': 30}).result(autocomplete_ready); + 'cacheLength': 0, 'matchContains': true, 'scroll': true, 'max': 30}).result(autocomplete_ready); }); })(jQuery);