mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 03:16:36 -04:00
Restore missing 'order by' clause to artwork list
This commit is contained in:
parent
6ff60d8d96
commit
3606a5c425
1 changed files with 3 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue