Do not create new group when search_filter is called only for ids

issue7455
review49361002
This commit is contained in:
Cédric Krier committed 2018-05-23 23:35:05 +02:00
1 parent 31c1aa96f0
commit 47d3cc8458
1 file changed
+1 -1
+1 -1
View File
@@ -857,7 +857,7 @@
},
search_filter: function(search_string, only_ids) {
only_ids = only_ids || false;
if (this.context_screen) {
if (this.context_screen && !only_ids) {
if (this.context_screen_prm.state() == 'pending') {
return this.context_screen_prm.then(function() {
return this.search_filter(search_string);