Removing fields from filter feature

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
chennecke
Posts: 2
Joined: 25 Jan 2011, 18:19

Removing fields from filter feature

Post 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.
mhonmon23
Posts: 76
Joined: 22 Sep 2010, 10:43

Re: Removing fields from filter feature

Post 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.
chennecke
Posts: 2
Joined: 25 Jan 2011, 18:19

Re: Removing fields from filter feature

Post 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.
Miq
Posts: 17
Joined: 29 Jun 2007, 06:16

Re: Removing fields from filter feature

Post 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
janheg

Re: Removing fields from filter feature

Post 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?
Post Reply