Restore missing 'order by' clause to artwork list

This commit is contained in:
Alex Cabal 2024-01-29 18:32:15 -06:00
parent 6ff60d8d96
commit 3606a5c425

View file

@ -236,9 +236,11 @@ class Library{
$params[] = $offset;
$artworks = Db::Query('
SELECT *
SELECT art.*
from Artworks art
inner join Artists a USING (ArtistId)
where ' . $statusCondition . '
order by ' . $orderBy . '
limit ?
offset ?', $params, 'Artwork');
}