diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-08-12 09:56:36 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-08-12 09:56:36 +0000 |
| commit | 9a5e01ab230b05d2506131fcfeb85978651ef474 (patch) | |
| tree | 7dd6e5a40bbbc2799ebc4f6a0ecd1acfaab04425 /frontends/php/chart2.php | |
| parent | cba7572f9fd0fde78741f348be7ef0f1c87cfea1 (diff) | |
Support for graphs_items.sortorder.
git-svn-id: svn://svn.zabbix.com/trunk@904 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.php')
| -rw-r--r-- | frontends/php/chart2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php index 7c44d1e9..13935415 100644 --- a/frontends/php/chart2.php +++ b/frontends/php/chart2.php @@ -60,7 +60,7 @@ $graph->setHeight($height); $graph->setHeader(DBget_field($result,0,0)); - $result=DBselect("select gi.itemid,i.description,gi.color,h.host,gi.drawtype from graphs_items gi,items i,hosts h where gi.itemid=i.itemid and gi.graphid=".$HTTP_GET_VARS["graphid"]." and i.hostid=h.hostid order by gi.gitemid"); + $result=DBselect("select gi.itemid,i.description,gi.color,h.host,gi.drawtype from graphs_items gi,items i,hosts h where gi.itemid=i.itemid and gi.graphid=".$HTTP_GET_VARS["graphid"]." and i.hostid=h.hostid order by gi.sortorder"); for($i=0;$i<DBnum_rows($result);$i++) { |
