diff options
author | Simon Rettberg | 2022-12-02 15:25:52 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-12-02 15:25:52 +0100 |
commit | 429c6dfb4710207fda63cb866bbdcd4cc06543fc (patch) | |
tree | b5db04396e93e74ce54dcf046f28ec7e6574e819 /modules-available/vmstore | |
parent | [locationinfo] Workaround calendar scrolling to wrong day (diff) | |
download | slx-admin-429c6dfb4710207fda63cb866bbdcd4cc06543fc.tar.gz slx-admin-429c6dfb4710207fda63cb866bbdcd4cc06543fc.tar.xz slx-admin-429c6dfb4710207fda63cb866bbdcd4cc06543fc.zip |
[rebootcontrol/vmstore] Fix ArrayUtil::sortByColumn() calls
Diffstat (limited to 'modules-available/vmstore')
-rw-r--r-- | modules-available/vmstore/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/vmstore/page.inc.php b/modules-available/vmstore/page.inc.php index 8d8a2461..1cc66642 100644 --- a/modules-available/vmstore/page.inc.php +++ b/modules-available/vmstore/page.inc.php @@ -208,7 +208,7 @@ class Page_VmStore extends Page $servers[] = ['idx' => 'nfs', 'server' => 'NFS']; } $servers[0]['checked'] = 'checked'; - ArrayUtil::sortByColumn($images, 'users', SORT_NUMERIC | SORT_DESC); + ArrayUtil::sortByColumn($images, 'users', SORT_DESC, SORT_NUMERIC); Module::isAvailable('js_stupidtable'); Render::addTemplate('benchmark-imgselect', [ 'id' => $id, |