From 9848b90bd9eddf0324ffdc0d8f089c6c24683fe8 Mon Sep 17 00:00:00 2001 From: artem Date: Fri, 22 Feb 2008 15:28:41 +0000 Subject: - [DEV-118] added dashboard screen to monitoring (Artem) - [ZBX-206] merged rev.5367:5370 of 1.4/ (Artem) [fixed case sensitive hosts sorting] - [DEV-119] changes how users online are counted (Artem) - implemented patch [added y axis calculation type: "Calculated [Min=0]"] (Artem) - changes in schema.sql (Artem) - fixed JS lib, url class (Artem) - some other small fixes (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5387 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/items.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/php/include/items.inc.php') diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php index e859f8c7..dc0c5394 100644 --- a/frontends/php/include/items.inc.php +++ b/frontends/php/include/items.inc.php @@ -913,7 +913,7 @@ COpt::profiling_start('prepare data'); while($row = DBfetch($result)) { $row['host'] = get_node_name_by_elid($row['hostid']).$row['host']; - $hosts[$row['host']] = $row['host']; + $hosts[strtolower($row['host'])] = $row['host']; $items[item_description($row["description"],$row["key_"])][$row['host']] = array( 'itemid' => $row['itemid'], 'value_type' => $row['value_type'], @@ -931,7 +931,7 @@ COpt::profiling_start('prepare data'); return $table; } - sort($hosts); + ksort($hosts); COpt::profiling_stop('prepare data'); COpt::profiling_start('prepare table'); -- cgit