Why the filter is already applied

That for, you have to applied the listview client script.

frappe.listview_settings['Employee'] = {
    onload: function(listview) {
        $(document).ready(function() {
            $('.filter-x-button').click();
        });
    }
};
1 Like