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