]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Fix sorting in filesets endpoint if unique filesets parameter is used
authorMarcin Haba <marcin.haba@bacula.pl>
Thu, 4 Apr 2024 09:25:23 +0000 (11:25 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Sun, 26 May 2024 19:38:45 +0000 (21:38 +0200)
gui/baculum/protected/API/Modules/FileSetManager.php

index 628518a3b1564c59fc88dece847efd7386f7bd1a..fcf8d60f0e51808118e1e706bb7e0babc83bf61d 100644 (file)
@@ -63,7 +63,7 @@ FROM (
        ' . $where['where'] . '
 ) AS fs
 WHERE fs.pos=1 '
- . $limit . $offset;
+. $order . $limit . $offset;
                } else {
                        $sql = 'SELECT FileSet.* 
 FROM FileSet '