From 3fa5ef0ea20886119ec722fe826462a15f826812 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 21 Feb 2014 10:32:06 +0000 Subject: [PATCH] We want to sort by raw timestamps, we don't want to fetch them --- .../monitoring/library/Monitoring/Object/AbstractObject.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/library/Monitoring/Object/AbstractObject.php b/modules/monitoring/library/Monitoring/Object/AbstractObject.php index ea433c2f8..4a4b0489c 100644 --- a/modules/monitoring/library/Monitoring/Object/AbstractObject.php +++ b/modules/monitoring/library/Monitoring/Object/AbstractObject.php @@ -151,14 +151,14 @@ abstract class AbstractObject 'host_name', 'service_description', 'timestamp', - 'raw_timestamp', +// 'raw_timestamp', 'state', 'attempt', 'max_attempts', 'output', 'type' ) - )->sort('timestamp', 'DESC')->getQuery(); + )->sort('raw_timestamp', 'DESC')->getQuery(); return $this; }