mirror of
https://github.com/mihonapp/mihon.git
synced 2025-02-17 11:29:48 +03:00
Prevent spamming updates with newly favorited manga
This commit is contained in:
parent
26d5a87bef
commit
f0a1dcd120
1 changed files with 3 additions and 1 deletions
|
@ -38,7 +38,9 @@ fun getRecentsQuery() =
|
|||
"""
|
||||
SELECT ${Manga.TABLE}.${Manga.COL_URL} as mangaUrl, * FROM ${Manga.TABLE} JOIN ${Chapter.TABLE}
|
||||
ON ${Manga.TABLE}.${Manga.COL_ID} = ${Chapter.TABLE}.${Chapter.COL_MANGA_ID}
|
||||
WHERE ${Manga.COL_FAVORITE} = 1 AND ${Chapter.COL_DATE_UPLOAD} > ?
|
||||
WHERE ${Manga.COL_FAVORITE} = 1
|
||||
AND ${Chapter.COL_DATE_UPLOAD} > ?
|
||||
AND ${Chapter.COL_DATE_FETCH} > ${Manga.COL_DATE_ADDED}
|
||||
ORDER BY ${Chapter.COL_DATE_UPLOAD} DESC
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue