Try ERPNext Buy Support Partners Foundation

Overriding Standard filters order

Standard Filters are arranged on their order in DocType. Say the field ID precedes a field Customer Name, then it also precedes that field in Standard Filter.

Is there a way to override this and set a custom order via code ? I know files such as sales_invoice_list.js customize the list view. Is anything possible via adding something to these files.

The usecase is the doctype list view has multiple standard filters, and the user on the ERPNext app can only see the first three filters. I cannot alter the doctype as it affects the usage by other users on desktop.

Thanks for that. But because we use column break in the doctype, we don’t want the same order in the standard filters.
Any idea on how to change the order of the standard filter. It seems we can do it manually, but I’d like it to be a default UI when installing the app.