Merge pull request #7898 from rohitwaghchaure/filter_not_working_for_the_multi_select

fix: filters not working for the multi select dialog
This commit is contained in:
rohitwaghchaure 2019-07-16 01:08:51 +05:30 committed by GitHub
commit eff2fb3d64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,7 +217,7 @@ frappe.ui.form.MultiSelectDialog = Class.extend({
// Make empty result set if filter is set
if (!frappe.flags.auto_scroll) {
this.$results.splice(1, this.$results.length);
this.empty_list();
}
if(results.length === 0) {