Code

Updated rSyslog
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Dec 2009 07:24:06 +0000 (07:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Dec 2009 07:24:06 +0000 (07:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14915 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc

index 8a41d69797abc9c9a13f69dc4e390dbfb22c93db..c2a4dc57122390029ea17ec36d359883a1b08b93 100644 (file)
@@ -15,7 +15,7 @@ class rsyslog extends plugin
 
   var $search_for ="";
 
-  var $sort_value  = "FromHost";
+  var $sort_value  = "DeviceReportedTime";
   var $sort_type  = "DESC";
   var $limit  = "0";
   var $limits = array(20,50,100,200,500,1000,'-');
@@ -211,7 +211,7 @@ class rsyslog extends plugin
 
         if($result['count'] < $this->page) $this->page = 0;
 
-        $filter.= "ORDER BY ".$this->sort_value." ".$this->sort_type." ";
+        $filter.= "ORDER BY ".$this->sort_value." ".$this->sort_type.", DeviceReportedTime ".$this->sort_type." ";
         if($this->limit != "-"){
           $filter.= "LIMIT ".$this->page.", ".$this->limits[$this->limit];
         }else{