Show only recent chapters of the library
This commit is contained in:
parent
f0a3c9c2dc
commit
dda0c50a1c
@ -25,7 +25,9 @@ public class MangaChapterGetResolver extends DefaultGetResolver<MangaChapter> {
|
|||||||
ChapterTable.COLUMN_MANGA_ID);
|
ChapterTable.COLUMN_MANGA_ID);
|
||||||
|
|
||||||
public static final String RECENT_CHAPTERS_QUERY = String.format(
|
public static final String RECENT_CHAPTERS_QUERY = String.format(
|
||||||
QUERY + " ORDER BY %1$s DESC LIMIT 100", ChapterTable.COLUMN_DATE_UPLOAD);
|
QUERY + " WHERE %1$s = 1 ORDER BY %2$s DESC LIMIT 100",
|
||||||
|
MangaTable.COLUMN_FAVORITE,
|
||||||
|
ChapterTable.COLUMN_DATE_UPLOAD);
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
private final MangaStorIOSQLiteGetResolver mangaGetResolver;
|
private final MangaStorIOSQLiteGetResolver mangaGetResolver;
|
||||||
|
Loading…
Reference in New Issue
Block a user