mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix nextEntry
query in history (alias mismatch)
This commit is contained in:
parent
20f8640790
commit
7bd1de3df6
@ -206,11 +206,11 @@ export const historyH = new Elysia({ tags: ["profiles"] })
|
||||
.where(
|
||||
and(
|
||||
eq(nextEntry.showPk, entries.showPk),
|
||||
ne(entries.kind, "extra"),
|
||||
ne(nextEntry.kind, "extra"),
|
||||
gt(nextEntry.order, entries.order),
|
||||
),
|
||||
)
|
||||
.orderBy(nextEntry.showPk, entries.order)
|
||||
.orderBy(nextEntry.order)
|
||||
.limit(1)
|
||||
.as("nextEntryQ");
|
||||
|
||||
|
@ -3,10 +3,7 @@ import {
|
||||
addToHistory,
|
||||
createMovie,
|
||||
createSerie,
|
||||
getEntries,
|
||||
getHistory,
|
||||
getMovie,
|
||||
getNews,
|
||||
getNextup,
|
||||
getSerie,
|
||||
getWatchlist,
|
||||
|
Loading…
x
Reference in New Issue
Block a user