From 014314a58c2f2e26a9544f66c9333c13abbd53f1 Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Sun, 5 Jul 2015 21:03:57 +0200 Subject: [PATCH] baculum: Fix sorting files and directories in restore files browser --- gui/baculum/protected/Class/Miscellaneous.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) 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; } -- 2.39.5