[minor] dont render filters for no value fields
This commit is contained in:
parent
7c9f2c7deb
commit
e4ba84fe74
1 changed files with 1 additions and 2 deletions
|
|
@ -192,9 +192,8 @@ frappe.ui.BaseList = Class.extend({
|
|||
onchange: () => { me.refresh(true); }
|
||||
});
|
||||
|
||||
var has_standard_filters = false;
|
||||
this.meta.fields.forEach(function(df) {
|
||||
if(df.in_standard_filter) {
|
||||
if(df.in_standard_filter && !frappe.model.no_value_type.includes(df.fieldtype)) {
|
||||
if(df.fieldtype == "Select" && df.options) {
|
||||
var options = df.options.split("\n")
|
||||
if(options.length > 0 && options[0] != ""){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue