Bugzilla 5.0.3 how to set to default that add "Reporter" column in search results?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bugzilla 5.0.3 how to set to default that add "Reporter" column in search results?

林育民
Dear Sirs,

I have a requirement about set to default that add "Reporter" column in search results screen.

Can you help me how to set it? need to directly modify the DB value?


Thanks a lot!

Best Regards,
Sam
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: Bugzilla 5.0.3 how to set to default that add "Reporter" column in search results?

林育民
Guten Tag Thorsten Schöning於 2018年4月26日星期四 UTC+8下午3時08分51秒寫道:

Dear Sir,


We should not to modify the source code for that set the default column in search results, but I will refer to the information provided by you as a future development.

https://bugzilla.readthedocs.io/en/5.0/integrating/index.html


Thank you so much for your help and assistance.

Best Regards,
Sam

> Guten Tag 林育民,
> am Donnerstag, 26. April 2018 um 05:35 schrieben Sie:
>
> > I have a requirement about set to default that add "Reporter" column in search results screen.
>
> You can't easily, those columns are either specified in links to
> actually do a search, user specific values or hard-coded systemw ide
> defaults. How those columns are handled can be seen in buglist.cgi
> starting at the following lines:
>
> > # Determine the columns that will be displayed in the bug list via the
> > # columnlist CGI parameter, the user's preferences, or the default.
> > my @displaycolumns = ();
>
> The defaults are in Constants.pm, which should NOT be edited, because
> you need to take care of those local modifications during upgrades
> etc. yourself. Local customizations to core code have caused a lot of
> work and trouble in the past for people upgrading.
>
> > # The default list of columns for buglist.cgi
> > use constant DEFAULT_COLUMN_LIST => (
> >     "product", "component", "assigned_to",
> >     "bug_status", "resolution", "short_desc", "changeddate"
> > );
>
> This leaves you with adding "columnlist" with your customized values
> to all search buttons, for which you need to customize all templates
> containing references to "buglist.cgi". While customizing templates is
> supported, keep in mind that you need to adopt customized templates to
> any new version during upgrades on your own as well.
>
> https://bugzilla.readthedocs.io/en/5.0/integrating/index.html
>
> If I was you, I would try to avoid customizations as much as possible
> and tell people that's a feature to let users decide about the columns
> in the search results. Not everyone cares about reporters in search
> results.
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: [hidden email]
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.