summaryrefslogtreecommitdiffstats
path: root/frontends/php/history.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-08-30 12:45:16 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-08-30 12:45:16 +0000
commit03a8773a6190f5ffdf8cf501a8aec965084df0a0 (patch)
tree8b97cd1e2a639ceccd0486dc01afbb1d74727104 /frontends/php/history.php
parent5d461d3d41207a7aaff64f6ac1fa111aef9fd181 (diff)
downloadzabbix-03a8773a6190f5ffdf8cf501a8aec965084df0a0.tar.gz
zabbix-03a8773a6190f5ffdf8cf501a8aec965084df0a0.tar.xz
zabbix-03a8773a6190f5ffdf8cf501a8aec965084df0a0.zip
ported r3264 (log messages ordering) from 1.1.2
git-svn-id: svn://svn.zabbix.com/trunk@3268 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/history.php')
-rw-r--r--frontends/php/history.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/history.php b/frontends/php/history.php
index 2c66c028..e6cb8eac 100644
--- a/frontends/php/history.php
+++ b/frontends/php/history.php
@@ -333,7 +333,7 @@
$sql = "select hst.host,i.itemid,i.key_,i.description,h.clock,h.value,i.valuemapid,h.timestamp,h.source,h.severity".
" from history_log h, items i, hosts hst".
" where hst.hostid=i.hostid and h.itemid=i.itemid".$sql_filter." and i.itemid in (".$itemid_lst.")".$cond_clock.
- " order by clock desc";
+ " order by h.clock desc, h.id desc";
$result=DBselect($sql,$limit);