[Rt-commit] r19481 - rt/3.8/trunk/share/html/Elements
falcone at bestpractical.com
falcone at bestpractical.com
Wed May 6 16:48:09 EDT 2009
Author: falcone
Date: Wed May 6 16:48:09 2009
New Revision: 19481
Modified:
rt/3.8/trunk/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/trunk/share/html/Elements/MyReminders
==============================================================================
--- rt/3.8/trunk/share/html/Elements/MyReminders (original)
+++ rt/3.8/trunk/share/html/Elements/MyReminders Wed May 6 16:48:09 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