From: hickert Date: Mon, 21 Dec 2009 07:24:06 +0000 (+0000) Subject: Updated rSyslog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d841dfef6771747b797501649ebd3015f4348856;p=gosa.git Updated rSyslog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14915 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc b/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc index 8a41d6979..c2a4dc571 100644 --- a/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc +++ b/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc @@ -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{