summaryrefslogtreecommitdiffstats
path: root/frontends/php/popup.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/popup.php')
-rw-r--r--frontends/php/popup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/popup.php b/frontends/php/popup.php
index 58d0834c..46c8f746 100644
--- a/frontends/php/popup.php
+++ b/frontends/php/popup.php
@@ -740,7 +740,7 @@ function add_item_variable(s_formname,x_value)
if(isset($hostid))
$sql .= " and h.hostid=$hostid";
- $sql .= " order by h.host";
+ $sql .= " order by h.host, i.description, i.key_, i.itemid";
$result = DBselect($sql);
while($row = DBfetch($result))