refactor: dont force issue list options (#31613)
Setting route option forces the filters, only default filters should be set and not forced for each visit.
This commit is contained in:
parent
b62028722e
commit
755a060ba7
@ -1,11 +1,8 @@
|
||||
frappe.listview_settings['Issue'] = {
|
||||
colwidths: {"subject": 6},
|
||||
add_fields: ['priority'],
|
||||
filters: [["status", "=", "Open"]],
|
||||
onload: function(listview) {
|
||||
frappe.route_options = {
|
||||
"status": "Open"
|
||||
};
|
||||
|
||||
var method = "erpnext.support.doctype.issue.issue.set_multiple_status";
|
||||
|
||||
listview.page.add_action_item(__("Set as Open"), function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user