mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
sort app overview RRDs by hostname (#10663)
This commit is contained in:
committed by
Tony Murray
parent
ca281ec12a
commit
d779d970ed
@@ -12,7 +12,7 @@ $graph_array['legend'] = 'no';
|
||||
foreach ($apps as $app) {
|
||||
echo '<div style="clear: both;">';
|
||||
echo '<h2>'.generate_link($app->displayName(), array('page' => 'apps', 'app' => $app->app_type)).'</h2>';
|
||||
$app_devices = dbFetchRows('SELECT * FROM `devices` AS D, `applications` AS A WHERE D.device_id = A.device_id AND A.app_type = ?', array($app->app_type));
|
||||
$app_devices = dbFetchRows('SELECT * FROM `devices` AS D, `applications` AS A WHERE D.device_id = A.device_id AND A.app_type = ? order by D.hostname', array($app->app_type));
|
||||
|
||||
foreach ($app_devices as $app_device) {
|
||||
$graph_type = $graphs[$app->app_type][0];
|
||||
|
Reference in New Issue
Block a user