mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Implement scanlator filter (#8803)
* Implement scanlator filter * Visual improvement to scanlator filter dialog * Review changes + Bug fixes Backup not containing filtered chapters and similar issue fix * Review Changes + Fix SQL query * Lint mamma mia
This commit is contained in:
		@@ -19,8 +19,12 @@ LEFT JOIN(
 | 
			
		||||
        coalesce(max(chapters.date_fetch), 0) AS fetchedAt,
 | 
			
		||||
        sum(chapters.bookmark) AS bookmarkCount
 | 
			
		||||
    FROM chapters
 | 
			
		||||
    LEFT JOIN excluded_scanlators
 | 
			
		||||
    ON chapters.manga_id = excluded_scanlators.manga_id
 | 
			
		||||
    AND chapters.scanlator = excluded_scanlators.scanlator
 | 
			
		||||
    LEFT JOIN history
 | 
			
		||||
    ON chapters._id = history.chapter_id
 | 
			
		||||
    WHERE excluded_scanlators.scanlator IS NULL
 | 
			
		||||
    GROUP BY chapters.manga_id
 | 
			
		||||
) AS C
 | 
			
		||||
ON M._id = C.manga_id
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user