How to remove default filter fields
Posted: 20 Jul 2017, 23:34
I need to remove many of the default filters from the View Issues tab (people are complaining that having too many options makes it confusing).
I have tried commenting out the filter fields in filter_constants_inc.php, but it didn't seem to have any affect. It looks like the filter array is saved to $t_filter and drawn by the method filter_form_draw_inputs called on line 2511 of filter_api.php, but I haven't been able to figure out how to exclude fields from that array.
Could someone please point me in the right direction?
I have tried commenting out the filter fields in filter_constants_inc.php, but it didn't seem to have any affect. It looks like the filter array is saved to $t_filter and drawn by the method filter_form_draw_inputs called on line 2511 of filter_api.php, but I haven't been able to figure out how to exclude fields from that array.
Could someone please point me in the right direction?