mirror of
https://github.com/standardebooks/web.git
synced 2025-07-17 20:06:39 -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;
|
$params[] = $offset;
|
||||||
|
|
||||||
$artworks = Db::Query('
|
$artworks = Db::Query('
|
||||||
SELECT *
|
SELECT art.*
|
||||||
from Artworks art
|
from Artworks art
|
||||||
|
inner join Artists a USING (ArtistId)
|
||||||
where ' . $statusCondition . '
|
where ' . $statusCondition . '
|
||||||
|
order by ' . $orderBy . '
|
||||||
limit ?
|
limit ?
|
||||||
offset ?', $params, 'Artwork');
|
offset ?', $params, 'Artwork');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue