This is a discussion on Re: How can I add severity to sort order in advanced search? - Mozilla ; Hello Tosh, Michael J, many thanks for that tip, that was it, here are my changes: buglist.cgi (row 846): }; /^Severity$/ && do { $order = "bugs.bug_severity, bugs.priority"; last ORDER; ================================================== ======================== query.cgi (row 310): my @orders = ('Bug Number', ...
Hello Tosh, Michael J,
many thanks for that tip, that was it, here are my changes:
buglist.cgi (row 846):
};
/^Severity$/ && do {
$order = "bugs.bug_severity, bugs.priority";
last ORDER;
================================================== ========================
query.cgi (row 310):
my @orders = ('Bug Number', 'Importance', 'Severity', 'Assignee', 'Last
Changed');
================================================== ========================
knob.html.tmpl (row 37):
[%# This is not necessary for English templates, but useful for localizers. %]
[% ordersdesc = {
"Reuse same sort as last time" => "Sortierung der letzten Abfrage auch
dieses Mal verwenden",
"Bug Number" => "${terms.Bug}nummer",
"Importance" => "Wichtigkeit",
"Severity" => "Schwere",
"Assignee" => "Zuständigem",
"Last Changed" => "Zeitpunkt der letzten Änderung" } %]
after that run checksetup.pl
Bye bye
_-_-_-_-_-_-_-_-_-_-_
Emails scanned with:
(Avast! Versions Nummer)
(Avast! Datenbank Version)
(Avast! Plugin Version number)
--------------------------------
deine Mail vom Donnerstag, 19. Juni 2008 um 15:10:
> Quoting Mathias Heppert:
>> Hello,
>>
>> sorry that is not that what I mean. I make an advanced search, and
>> near by the footer there is a pulldown, where I can order the result
>> list by bug number, assignee, importance a.s.o. but there is no
>> severity - this is what I want to have in this pulldown.
> There are several places this is defined. Buglist.cgi is where it is
> mapped to fields.
> query.cgi: (Line 321 or so?)
> my @orders = ('Bug Number', ...
> buglist.cgi: (Line 841 or so?)
> ORDER: for ($order) {
> /^Bug Number$/ && do {
> ...
> template/en/custom/search/knob.html.tmpl: (Line 36)
> [% ordersdesc = { ...
> _______________________________________________
> support-bugzilla mailing list
> support-bugzilla@lists.mozilla.org
> https://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put support-bugzilla@lists.mozilla.org in the To: field when you reply.