Browse Source

[minor] fixed the set_query for the doctype field in Custom Field (#3275)

version-14
Makarand Bauskar 8 years ago
committed by Rushabh Mehta
parent
commit
b8f1fdc92e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      frappe/custom/doctype/custom_field/custom_field.js

+ 3
- 1
frappe/custom/doctype/custom_field/custom_field.js View File

@@ -13,7 +13,9 @@ frappe.ui.form.on('Custom Field', {
if(user!=="Administrator") {
filters.push(['DocType', 'module', '!=', 'Core'])
}
return filters
return {
"filters": filters
}
});
},
refresh: function(frm) {


Loading…
Cancel
Save