fix: use get_filter_value in filter_list
This commit is contained in:
parent
0c475792cd
commit
c64df2787f
1 changed files with 1 additions and 5 deletions
|
|
@ -249,7 +249,7 @@ frappe.ui.Filter = class {
|
|||
let args = {};
|
||||
if (this.filters_config[condition].depends_on) {
|
||||
const field_name = this.filters_config[condition].depends_on;
|
||||
const filter_value = this.get_filter_value(field_name);
|
||||
const filter_value = this.filter_list.get_filter_value(fieldname);
|
||||
args[field_name] = filter_value;
|
||||
}
|
||||
frappe
|
||||
|
|
@ -265,10 +265,6 @@ frappe.ui.Filter = class {
|
|||
}
|
||||
}
|
||||
|
||||
get_filter_value(fieldname) {
|
||||
return this.filter_list.get_filter_value(fieldname);
|
||||
}
|
||||
|
||||
make_field(df, old_fieldtype) {
|
||||
let old_text = this.field ? this.field.get_value() : null;
|
||||
this.hide_invalid_conditions(df.fieldtype, df.original_type);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue