Use recognized chapter number boolean field for filter

This commit is contained in:
arkon 2020-03-06 22:44:55 -05:00
parent 164da0fd9f
commit 63e330b83d

View file

@ -569,7 +569,7 @@ class LibraryUpdateService(
.apply { decimalSeparator = '.' })
val displayableChapterNumbers = chapters
.filter { it.chapter_number >= 0 }
.filter { it.isRecognizedNumber }
.sortedBy { it.chapter_number }
.map { formatter.format(it.chapter_number) }
.toSet()