Hide excluded scanlators from Update view (#742)
* Hide excluded translators from update view * also migrate database
This commit is contained in:
parent
d4c4686ad1
commit
84f3826fe8
2 changed files with 17 additions and 1 deletions
|
|
@ -97,7 +97,11 @@ SELECT
|
|||
chapters.date_fetch AS datefetch
|
||||
FROM mangas JOIN chapters
|
||||
ON mangas._id = chapters.manga_id
|
||||
LEFT JOIN excluded_scanlators
|
||||
ON mangas._id = excluded_scanlators.manga_id
|
||||
AND chapters.scanlator = excluded_scanlators.scanlator
|
||||
WHERE favorite = 1 AND source <> 6969
|
||||
AND excluded_scanlators.scanlator IS NULL
|
||||
AND date_fetch > date_added
|
||||
UNION
|
||||
SELECT
|
||||
|
|
@ -124,6 +128,10 @@ LEFT JOIN (
|
|||
ON ME.merge_id = mangas._id
|
||||
JOIN chapters
|
||||
ON ME.manga_id = chapters.manga_id
|
||||
LEFT JOIN excluded_scanlators
|
||||
ON mangas._id = excluded_scanlators.manga_id
|
||||
AND chapters.scanlator = excluded_scanlators.scanlator
|
||||
WHERE favorite = 1 AND source = 6969
|
||||
AND excluded_scanlators.scanlator IS NULL
|
||||
AND date_fetch > date_added
|
||||
ORDER BY datefetch DESC;
|
||||
ORDER BY datefetch DESC;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,11 @@ SELECT
|
|||
chapters.date_fetch AS datefetch
|
||||
FROM mangas JOIN chapters
|
||||
ON mangas._id = chapters.manga_id
|
||||
LEFT JOIN excluded_scanlators
|
||||
ON mangas._id = excluded_scanlators.manga_id
|
||||
AND chapters.scanlator = excluded_scanlators.scanlator
|
||||
WHERE favorite = 1 AND source <> 6969
|
||||
AND excluded_scanlators.scanlator IS NULL
|
||||
AND date_fetch > date_added
|
||||
UNION
|
||||
SELECT
|
||||
|
|
@ -44,7 +48,11 @@ LEFT JOIN (
|
|||
ON ME.merge_id = mangas._id
|
||||
JOIN chapters
|
||||
ON ME.manga_id = chapters.manga_id
|
||||
LEFT JOIN excluded_scanlators
|
||||
ON mangas._id = excluded_scanlators.manga_id
|
||||
AND chapters.scanlator = excluded_scanlators.scanlator
|
||||
WHERE favorite = 1 AND source = 6969
|
||||
AND excluded_scanlators.scanlator IS NULL
|
||||
AND date_fetch > date_added
|
||||
ORDER BY datefetch DESC;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue