From 33f61386d77a035fd59a15ccfea43d0fbff911d2 Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 9 Nov 2006 02:52:40 +0000 Subject: [PATCH] recorrect ticket order --- FS/FS/TicketSystem/RT_External.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/TicketSystem/RT_External.pm b/FS/FS/TicketSystem/RT_External.pm index 234363a04..3a0d6f0a5 100644 --- a/FS/FS/TicketSystem/RT_External.pm +++ b/FS/FS/TicketSystem/RT_External.pm @@ -59,7 +59,7 @@ sub customer_tickets { "position(tickets.status in 'newopenstalledresolvedrejecteddeleted')". " AS svalue " . ( length($priority) ? ", objectcustomfieldvalues.content" : '' ). - " $from_sql ORDER BY priority, svalue, id DESC LIMIT $limit"; + " $from_sql ORDER BY svalue, priority DESC, id DESC LIMIT $limit"; my $sth = $dbh->prepare($sql) or die $dbh->errstr. "preparing $sql"; $sth->execute(@param) or die $sth->errstr. "executing $sql"; -- 2.11.0