Page 1 of 1
Removing fields from filter feature
Posted: 25 Jan 2011, 18:27
by chennecke
Hello,
I have removed a number of fields since they are not used using $g_bug_report_page_fields, $g_bug_view_page_fields, and so on. However, these fields still show up in the filter feature in the overview view_all_bug_page.php. This is quite confusing for users who never see these fields anywhere else. How can I remove them?
I'm using Mantis 1.2.4.
Re: Removing fields from filter feature
Posted: 26 Jan 2011, 07:59
by mhonmon23
I don't know if theres a config for this but if don't have, I will go manual.
to manual, edit filter_api.php and search for the fields you don't want to see. probably its here "filter_draw_selection_area" function.
be careful, you might mess with search feature.
Re: Removing fields from filter feature
Posted: 26 Jan 2011, 10:42
by chennecke
Thanks for the hint. I was able to adjust the displayed fields by removing the related constants from config_filter_defaults_inc.php. The empty table remain but that's not much of a problem.
Re: Removing fields from filter feature
Posted: 16 Feb 2011, 10:04
by Miq
chennecke wrote:Thanks for the hint. I was able to adjust the displayed fields by removing the related constants from config_filter_defaults_inc.php. The empty table remain but that's not much of a problem.
Well, I did not succeed at all with this method - all remains the same, regardless of commenting out the constants. Any hints? I
Re: Removing fields from filter feature
Posted: 25 Jul 2011, 09:05
by janheg
I've got the same problem as Miq. I'm using Mantis 1.2.5 with schema version 183.
My problem is, that I want to remove some fields from the filter view on view_all_bug_page.php, but commenting these fields out in config_filter_defaults_inc.php doesn't help.
So, is there a solution, or is this a bug in Mantis 1.2.5?