Merge pull request #23422 from marination/dialog-filters

chore: Add Filter Group to dialogs
This commit is contained in:
Marica 2020-09-29 13:17:29 +05:30 committed by GitHub
commit 202303e088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -677,6 +677,7 @@ erpnext.utils.map_current_doc = function(opts) {
date_field: opts.date_field || undefined,
setters: opts.setters,
get_query: opts.get_query,
add_filters_group: 1,
action: function(selections, args) {
let values = selections;
if(values.length === 0){