[prev in list] [next in list] [prev in thread] [next in thread]
List: rt-commit
Subject: [Rt-commit] rt branch, 4.2/reminder-permissions,
From: alexmv () bestpractical ! com (Alex Vandiver)
Date: 2011-02-28 20:20:50
Message-ID: 20110228202051.8AE4F2418001 () booth ! bestpractical ! com
[Download RAW message or body]
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@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);
}
-----------------------------------------------------------------------
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic