[Rt-commit] r19598 - rt/3.8/branches/forward-with-transaction/share/html/Elements
falcone at bestpractical.com
falcone at bestpractical.com
Fri May 8 17:57:02 EDT 2009
Author: falcone
Date: Fri May 8 17:57:02 2009
New Revision: 19598
Modified:
rt/3.8/branches/forward-with-transaction/share/html/Elements/MyReminders
Log:
Make Reminder sorting consistent
Sorting by Due descending made reminders due today appear at
the bottom of the list, which isn't helpful. This way it matches
with the display on the ticket page.
Modified: rt/3.8/branches/forward-with-transaction/share/html/Elements/MyReminders
==============================================================================
--- rt/3.8/branches/forward-with-transaction/share/html/Elements/MyReminders (original)
+++ rt/3.8/branches/forward-with-transaction/share/html/Elements/MyReminders Fri May 8 17:57:02 2009
@@ -70,5 +70,5 @@
my $reminders = RT::Tickets->new($session{'CurrentUser'});
$reminders->FromSQL('(Owner = "Nobody" OR Owner = "'.$session{'CurrentUser'}->Name.'")' .
' AND Type = "reminder" AND (Status = "new" OR Status = "open")');
-$reminders->OrderBy(FIELD => 'Due', ORDER => 'DESC');
+$reminders->OrderBy(FIELD => 'Due', ORDER => 'ASC');
</%init>
More information about the Rt-commit
mailing list