Custom print of single defect

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Lemon
Posts: 1
Joined: 21 Jul 2019, 17:54

Custom print of single defect

Post by Lemon »

Hi guys, I am pretty new user/customizer of Mantis running on our Synology drive.

I am currently configuring Mantis to use for management of defective goods. It is intended to print only certain fields and store it with the product. How can I disable some parts in the single bug print view?

I really did try too look around before asking. Ended up with $g_bug_print_page_fields thinking this can solve my problem but haven't figured out how to use it properly.

I tried something like (in config_inc.php):
$g_bug_print_page_fields['last_updated']['view_state']['steps_to_reproduce']= OFF;

and that has no effect in the print page. Please help and include some example, I can definitivy take it from there.
cas
Posts: 1605
Joined: 11 Mar 2006, 16:08
Contact:

Re: Custom print of single defect

Post by cas »

look how it is defined in config_defaults_inc.php.
Copy the set to config_inc.php and adjust to your liking :mrgreen:
Post Reply