[icinga-checkins] icinga.org: icingaweb2-module-director/master: ActivityLogTable: order by time and id

git at icinga.org git at icinga.org
Wed Feb 24 21:39:19 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: 6e06d7c7bc33f2f2071390f7fa1bf05302783a0c
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=6e06d7c7bc33f2f2071390f7fa1bf05302783a0c

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Feb 24 21:34:13 2016 +0100

ActivityLogTable: order by time and id

---

 application/tables/ActivityLogTable.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/tables/ActivityLogTable.php b/application/tables/ActivityLogTable.php
index 9088350..00db39c 100644
--- a/application/tables/ActivityLogTable.php
+++ b/application/tables/ActivityLogTable.php
@@ -57,7 +57,7 @@ class ActivityLogTable extends QuickTable
         $query = $db->select()->from(
             array('l' => 'director_activity_log'),
             array()
-        )->order('change_time DESC');
+        )->order('change_time DESC')->order('id DESC');
 
         foreach ($this->filters as $filter) {
             $query->where($filter[0], $filter[1]);



More information about the icinga-checkins mailing list