Hi there,
is there any way to create a client script to apply a filter on a list view, when the list is loaded?
I got this but even there should be a result I always get a empty list:
frappe.listview_settings['Timesheet'] = {
onload: function(listview) {
listview.set_filter('workflow_state', 'Aproved');
}
};
It would be really nice to get something like that working.
Thanks