Version

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
djmario
Posts: 4
Joined: 19 Mar 2017, 08:25

Version

Post by djmario »

Hi! I want to hide a future version from "product version" in "raport an issue" page.
How can I do that? I am using MantisBT 2.2.1 .
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Version

Post by atrol »

djmario wrote:hide a future version
I assume you mean a version that is not set to "released"

Add the following lines to file config_inc.php and adjust to your needs, e.g. if you want to allow it just for administrators, add.

Code: Select all

$g_report_issues_for_unreleased_versions_threshold = ADMINISTRATOR;
Please use Search before posting and read the Manual
djmario
Posts: 4
Joined: 19 Mar 2017, 08:25

Re: Version

Post by djmario »

Yes, it works.
Thanks.
djmario
Posts: 4
Joined: 19 Mar 2017, 08:25

Re: Version

Post by djmario »

And if i want to show "Target version" only for administrator, what should I do?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Version

Post by atrol »

Code: Select all

$g_roadmap_update_threshold = ADMINISTRATOR;
Please use Search before posting and read the Manual
djmario
Posts: 4
Joined: 19 Mar 2017, 08:25

Re: Version

Post by djmario »

Thanks a lot for help!
Post Reply