[rt-devel] default ticket sort: descending
Joseph Spenner
joseph85750 at yahoo.com
Wed Jul 16 19:00:44 EDT 2003
I'm using RT 2.0.15 and trying to change the default
sort behavior. By default, when a queue is selected,
it wants to sort ascending ticket order. I wish to
change this to descending, so the newest tickets
appear at the top. I believe this is defined in the
~/rt2/WebRT/html/Search/Listing.html file:
<%PERL>
my ($order);
my $attr = $col->{'TicketAttribute'};
$attr =~ s/Obj->(Name|AsString|AgeAsString)//g;
if ($session{'tickets_sort_order'} =~ /^asc$/i) {
$order = 'DESC';
} else {
$order = 'ASC';
}
</%PERL>
But I can't figure out where the tickets_sort_order is
being defined.
If anyone else has changed this sort_order behavior,
I'd sure appreciate any help on where to make the
change.
Thanks!
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
More information about the Rt-devel
mailing list