[rt-users] reverse ticket order in Queue page

Torsten Brumm tob at brummix.de
Tue Feb 21 04:18:52 EST 2006


On 10:38 Tue 21 Feb, Howard Kao wrote:
> Hi all,
> 
> Is there a way to reverse the order of tickets shown in the Queue page
> from ascending to descending, meaning the greater the number of a
> ticket, the higher it will be shown in the pages?
> 
> I found the reverse history in tickets page but can't make it work for queues.
> 
> Any suggestion/help would be appreciated.
> 
> Thanks.

Hi,

try this:


--- Results.html	2005-12-02 23:41:00.000000000 +0100
+++ /opt/rt3/local/html/Search/Results.html	2005-12-10 12:26:36.000000000
+0100
@@ -98,7 +98,7 @@
 # These variables are what define a search_hash; this is also
 # where we give sane defaults.
 $Format      ||= $prefs->{'Format'};
-$Order       ||= $prefs->{'Order'} || 'ASC';
+$Order       ||= $prefs->{'Order'} || 'DESC';
 $OrderBy     ||= $prefs->{'OrderBy'} || 'id';

 # Some forms pass in "RowsPerPage" rather than "Rows" 

Torsten



More information about the rt-users mailing list