Page 1 of 1

Hidden fields

Posted: 19 Nov 2012, 13:52
by M@rce
Hello everybody,

For special requeriment, I want to hide some fields in the bug_report_page like severity, priority, aditional information and visibility, anybody know to do this?

Thanks.

Re: Hidden fields

Posted: 19 Nov 2012, 16:12
by atrol
Change the following setting in config_inc.php

Code: Select all

       /**
        * An array of the fields to show on the bug report page.
        *
        * The following fields can not be included:
        * id, project, date_submitted, last_updated, status,
        * resolution, tags, fixed_in_version, projection, eta,
        * reporter.
        *
        * The following fields must be included:
        * category_id, summary, description.
        *
        * To overload this setting per project, then the settings must be included in the database through
        * the generic configuration form.
        *
        * @global array $g_bug_report_page_fields
        */
       $g_bug_report_page_fields = array(
          'category_id',
          'view_state',
          'handler',
          'priority',
          'severity',
          'reproducibility',
          'platform',
          'os',
          'os_version',
          'product_version',
          'product_build',
          'target_version',
          'summary',
          'description',
          'additional_info',
          'steps_to_reproduce',
          'attachments',
          'due_date',
       );

[Resolved] Hidden fields

Posted: 21 Nov 2012, 19:04
by M@rce
Thank you!