fix: check for df options in set fieldin case field type for both conditions is the same

This commit is contained in:
prssanna 2020-01-20 21:28:39 +05:30
parent 7683fa7e07
commit 7e45035c18

View file

@ -195,7 +195,7 @@ frappe.ui.Filter = class {
// called when condition is changed,
// don't change if all is well
if(this.field && cur.fieldname == fieldname && df.fieldtype == cur.fieldtype &&
df.parent == cur.parent) {
df.parent == cur.parent && df.options == cur.options) {
return;
}