From: Marcin Haba Date: Sun, 5 Jul 2015 19:03:57 +0000 (+0200) Subject: baculum: Fix sorting files and directories in restore files browser X-Git-Tag: Release-7.2.0~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=014314a58c2f2e26a9544f66c9333c13abbd53f1;p=bacula%2Fbacula baculum: Fix sorting files and directories in restore files browser --- diff --git a/gui/baculum/protected/Class/Miscellaneous.php b/gui/baculum/protected/Class/Miscellaneous.php index f44e0b7930..cf149e9b80 100644 --- a/gui/baculum/protected/Class/Miscellaneous.php +++ b/gui/baculum/protected/Class/Miscellaneous.php @@ -1,7 +1,18 @@ $match['pathid'], 'filenameid' => $match['filenameid'], 'fileid' => $match['fileid'], 'jobid' => $match['jobid'], 'lstat' => $match['lstat'], 'name' => $match['name'], 'type' => 'file'); } } - usort($elements, 'sortListByName'); + usort($elements, 'sortFilesListByName'); return $elements; }