Fix library sort not using tag sort

(cherry picked from commit 259a487dc042825fa6ed3f3bc3a4ced6a191cf50)
This commit is contained in:
Jobobby04 2023-03-16 18:00:02 -04:00
parent f6a6dcb540
commit b6baac90dc

View File

@ -69,7 +69,7 @@ data class LibrarySort(
}
companion object {
val types by lazy { setOf(Type.Alphabetical, Type.LastRead, Type.LastUpdate, Type.UnreadCount, Type.TotalChapters, Type.LatestChapter, Type.ChapterFetchDate, Type.DateAdded) }
val types by lazy { setOf(Type.Alphabetical, Type.LastRead, Type.LastUpdate, Type.UnreadCount, Type.TotalChapters, Type.LatestChapter, Type.ChapterFetchDate, Type.DateAdded /* SY -->*/, Type.TagList /* SY <--*/) }
val directions by lazy { setOf(Direction.Ascending, Direction.Descending) }
val default = LibrarySort(Type.Alphabetical, Direction.Ascending)