mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Change order of collection sorting
This commit is contained in:
parent
40296c2562
commit
b8c4de4b20
1 changed files with 1 additions and 1 deletions
|
@ -2300,7 +2300,7 @@ final class Ebook{
|
|||
from Ebooks e
|
||||
inner join CollectionEbooks ce using (EbookId)
|
||||
where ce.CollectionId = ?
|
||||
order by ce.SequenceNumber is null, ce.SequenceNumber, e.EbookCreated desc
|
||||
order by ce.SequenceNumber is null, ce.SequenceNumber, e.EbookCreated asc
|
||||
', [$collectionId], Ebook::class);
|
||||
|
||||
return $ebooks;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue