Bug 151023 - duplicates.cgi sort by delta sorts in wrong direction. Patch by gerv; r=bbaetz, jouni.

This commit is contained in:
gerv%gerv.net 2002-06-13 22:21:53 +00:00
parent cfd4bb6192
commit ce34567495

View File

@ -65,7 +65,12 @@
<b>
[% bug_ids_string = bug_ids.join(',') %]
<a href="duplicates.cgi?sortby=[% column.name %]
[% "&reverse=1" IF NOT reverse AND sortby == column.name %]
[% IF sortby == column.name %]
[% "&reverse=1" IF NOT reverse %]
[% ELSE %]
[%-# Some columns start off reversed %]
[% "&reverse=1" IF column.name.match('delta|count') %]
[% END %]
[% "&maxrows=$maxrows" IF maxrows %]
[% "&changedsince=$changedsince" IF changedsince %]
[% "&openonly=1" IF openonly %]