Mangadex: add missing sort options (#9043)
* added Missing sort options * Update build.gradle * Improved latestUpdatesRequest latestUpdatesRequest does not require the previous work around anymore as latestUploadedChapter sort order was added to the api * Fixed Typo
This commit is contained in:
parent
72ca3d3781
commit
d8bcdd11c7
@ -6,7 +6,7 @@ ext {
|
||||
extName = 'MangaDex'
|
||||
pkgNameSuffix = 'all.mangadex'
|
||||
extClass = '.MangaDexFactory'
|
||||
extVersionCode = 136
|
||||
extVersionCode = 137
|
||||
containsNsfw = true
|
||||
}
|
||||
|
||||
|
@ -191,10 +191,13 @@ class MangaDexFilters {
|
||||
Filter.Select<String>("Excluded tags mode", arrayOf("And", "Or"), 1)
|
||||
|
||||
val sortableList = listOf(
|
||||
Pair("Alphabetic", "title"),
|
||||
Pair("Chapter uploaded at", "latestUploadedChapter"),
|
||||
Pair("Number of follows", "followedCount"),
|
||||
Pair("Manga created at", "createdAt"),
|
||||
Pair("Manga info updated at", "updatedAt"),
|
||||
Pair("Relevant manga", "relevance")
|
||||
Pair("Relevant manga", "relevance"),
|
||||
Pair("Year", "year")
|
||||
)
|
||||
|
||||
class SortFilter(sortables: Array<String>) : Filter.Sort("Sort", sortables, Selection(0, false))
|
||||
|
Loading…
x
Reference in New Issue
Block a user