diff options
Diffstat (limited to 'frontends/php/graph.php')
| -rw-r--r-- | frontends/php/graph.php | 2 |
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)) { |
