summaryrefslogtreecommitdiffstats
path: root/frontends/php/graph.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-08-28 10:29:30 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-08-28 10:29:30 +0000
commit971a6233f5b5c95361fff6fc9ee671de5958bd1e (patch)
tree6d3a621ef3ac821b55cf9a69433a90ce1e4bf8ca /frontends/php/graph.php
parent7c46c407403c42d02d92498787151d178dd61d3e (diff)
- fixed graph item ordering and some bugs of graph drawing (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3215 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/graph.php')
-rw-r--r--frontends/php/graph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/graph.php b/frontends/php/graph.php
index c7438e02..5f89a544 100644
--- a/frontends/php/graph.php
+++ b/frontends/php/graph.php
@@ -167,7 +167,7 @@
$result=DBselect("select i.itemid,h.host,i.description,gi.*,i.key_".
" from hosts h,graphs_items gi,items i where i.itemid=gi.itemid".
- " and gi.graphid=".$_REQUEST["graphid"]." and h.hostid=i.hostid order by gi.sortorder");
+ " and gi.graphid=".$_REQUEST["graphid"]." and h.hostid=i.hostid order by gi.sortorder desc");
while($row=DBfetch($result))
{