mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
alphabetic order of app overview (#10825)
* alphabetic order of app overview * change sortby to orderby
This commit is contained in:
committed by
Tony Murray
parent
4aff04041b
commit
75f3a7ff12
@@ -11,7 +11,7 @@ $graph_array_zoom['height'] = '150';
|
||||
$graph_array_zoom['width'] = '400';
|
||||
$graph_array['legend'] = 'no';
|
||||
|
||||
foreach (Application::query()->hasAccess(Auth::user())->with('device')->get()->groupBy('app_type') as $type => $groupedApps) {
|
||||
foreach (Application::query()->hasAccess(Auth::user())->with('device')->orderBy('app_type')->get()->groupBy('app_type') as $type => $groupedApps) {
|
||||
echo '<div style="clear: both;">';
|
||||
echo '<h2>'.generate_link($groupedApps->first()->displayName(), array('page' => 'apps', 'app' => $type)).'</h2>';
|
||||
/** @var \Illuminate\Support\Collection $groupedApps */
|
||||
|
Reference in New Issue
Block a user