From ccb8f51ba93c6799541f2f51bc789fd4ae5784c8 Mon Sep 17 00:00:00 2001
From: Thomas Gelf <thomas@gelf.net>
Date: Fri, 5 Sep 2014 18:44:29 +0200
Subject: [PATCH] list/eventhistory: sort by timestamp, not raw_ts

---
 modules/monitoring/application/controllers/ListController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php
index 7eb32a2ea..bd0bb047f 100644
--- a/modules/monitoring/application/controllers/ListController.php
+++ b/modules/monitoring/application/controllers/ListController.php
@@ -508,7 +508,7 @@ class Monitoring_ListController extends Controller
         ));
 
         $this->setupSortControl(array(
-            'raw_timestamp' => 'Occurence'
+            'timestamp' => 'Occurence'
         ));
         $this->applyFilters($query);
         $this->view->history = $query->paginate();