From: Marcin Haba Date: Thu, 26 Mar 2015 20:13:50 +0000 (+0100) Subject: baculum: Sorting directories and files in restore files browser X-Git-Tag: Release-7.2.0~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=70a3c40cb3946c596eed789d03b423fc67542a4e;p=bacula%2Fbacula baculum: Sorting directories and files in restore files browser --- diff --git a/gui/baculum/protected/Class/Miscellaneous.php b/gui/baculum/protected/Class/Miscellaneous.php index ad0b61021e..f44e0b7930 100644 --- a/gui/baculum/protected/Class/Miscellaneous.php +++ b/gui/baculum/protected/Class/Miscellaneous.php @@ -1,5 +1,10 @@ $match['pathid'], 'filenameid' => $match['filenameid'], 'fileid' => $match['fileid'], 'jobid' => $match['jobid'], 'lstat' => $match['lstat'], 'name' => $match['name'], 'type' => 'file'); } } + usort($elements, 'sortListByName'); return $elements; }