[Rt-commit] rt branch, 4.2/reminder-permissions, updated. rt-4.0.0rc4-94-g5838c73

Alex Vandiver alexmv at bestpractical.com
Mon Feb 28 15:20:50 EST 2011


The branch, 4.2/reminder-permissions has been updated
       via  5838c73eaceb164cf5675b408ca7380f89a62f69 (commit)
      from  8d1bf0cd24b093335dfbd0f2a62a89f35586e6d1 (commit)

Summary of changes:
 lib/RT/Reminders.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 5838c73eaceb164cf5675b408ca7380f89a62f69
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Feb 28 15:15:55 2011 -0500

    Provide a stable, consistent ordering for reminders with the same due date

diff --git a/lib/RT/Reminders.pm b/lib/RT/Reminders.pm
index 2f72707..d24f281 100644
--- a/lib/RT/Reminders.pm
+++ b/lib/RT/Reminders.pm
@@ -90,8 +90,8 @@ sub Collection {
 
     $col->FromSQL($query);
 
-    $col->OrderBy( FIELD => 'Due' );
-    
+    $col->OrderByCols( { FIELD => 'Due' }, { FIELD => 'id' } );
+
     return($col);
 }
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list