client-app/app/controllers/index.js in logster-2.8.0 vs client-app/app/controllers/index.js in logster-2.9.0
- old
+ new
@@ -118,12 +118,17 @@
this.model.set("filter", filter);
this.model.reload().then(() => this.model.updateSelectedRow());
},
updateSearch(term) {
+ if (term === this.search) {
+ return;
+ }
+
if (term && term.length === 1) {
return;
}
+
debounce(this, this.doSearch, term, 250);
}
},
doSearch(term) {