How to applied permanent filter in list view

Hi @niraj_regmi,

We did apply on default filter in Sales Order Lisview.
When the user reloads the page, then automatically applies the filter.

We did apply the default filter for status.

Please apply the client script for Listview.

frappe.listview_settings['Sales Order'] = {
    onload : function(listview) {
        frappe.route_options = {
            "status": "Draft"
          };
        listview.refresh();
    }
};

Output:

Please set your doctype and field name according to the script.
I hope this help.

Thank You!

3 Likes