Hi all,
I'm trying to log in Mantis Bug Tracker and to collapse the filter box options by default.
I read two very old posts, but these solutions doesn't work anymore:
1- 'Collapsed by default' in collapse_api + minor improvements
viewtopic.php?f=4&t=308
2.- Filter to default closed
https://mantisbt.org/forums/viewtopic.php?f=3&t=18944
Now I'm using the version 2.9 and I see different PHP functions ( function collapse_open, function collapse_closed, function collapse_end...) but I can't solve this.
Can somebody help me, please? Thanks in advance.
Filter box collapsed by default?
Moderators: Developer, Contributor
-
- Posts: 1
- Joined: 08 Feb 2018, 08:06
Re: Filter box collapsed by default?
Hey joancatala,
Have you resolved your issue. I'm facing the same issue.
Have you resolved your issue. I'm facing the same issue.
Re: Filter box collapsed by default?
For the record, here is how to set the Filter box to be collapsed by default:
(Tested on MantisBT version 2.18.0)
In file: core/collapse_api.php
On line: 201
Change the line:
to:
And this will make the filter box to be collapsed by default for all users. As soon as users interact with filter box, their last choice will be preserved in the cookies since after.
(Tested on MantisBT version 2.18.0)
In file: core/collapse_api.php
On line: 201
Change the line:
Code: Select all
$t_data['filter'] = false;
Code: Select all
$t_data['filter'] = true;
Re: Filter box collapsed by default?
this actually should be a default value for config_inc.php