How to customize Standard Field Visibility?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Asura
Posts: 8
Joined: 08 Jan 2019, 14:00

How to customize Standard Field Visibility?

Post by Asura »

Hi!

I'm currently working on a very deep customization of Mantis and now i'm stuck with one thing, a very dumb thing to be honest.
I have a field in bug report, a standard one (view_state), and i want it to be visible only by devs and above.
Any clue on how i can do that?

Thanks,

Asura.
MantisBT Version 2.8.0.209
PHP Version 7.0.24
MySQL Version 5.7.20
Running on Windows Server 2012 R2
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to customize Standard Field Visibility?

Post by atrol »

Add the following line to file config/config_inc.php

Code: Select all

$g_set_view_status_threshold = DEVELOPER;
Please use Search before posting and read the Manual
Asura
Posts: 8
Joined: 08 Jan 2019, 14:00

Re: How to customize Standard Field Visibility?

Post by Asura »

Thanks!
MantisBT Version 2.8.0.209
PHP Version 7.0.24
MySQL Version 5.7.20
Running on Windows Server 2012 R2
Post Reply