Fix errors in Batoto
This commit is contained in:
parent
8800bd0e61
commit
309507d33d
|
@ -75,7 +75,7 @@ open class BatoTo(
|
||||||
val originToInclude = mutableListOf<String>()
|
val originToInclude = mutableListOf<String>()
|
||||||
filter.state.forEach { content ->
|
filter.state.forEach { content ->
|
||||||
if (content.state) {
|
if (content.state) {
|
||||||
demographicToInclude.add(content.name)
|
originToInclude.add(content.name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (originToInclude.isNotEmpty()) {
|
if (originToInclude.isNotEmpty()) {
|
||||||
|
@ -324,7 +324,7 @@ open class BatoTo(
|
||||||
Pair("A-Z", "title.az"),
|
Pair("A-Z", "title.az"),
|
||||||
Pair("Z-A", "title"),
|
Pair("Z-A", "title"),
|
||||||
Pair("Last Updated", "update"),
|
Pair("Last Updated", "update"),
|
||||||
Pair("Oldest Updated", "updated.az")
|
Pair("Oldest Updated", "updated.az"),
|
||||||
Pair("Newest Added", "create"),
|
Pair("Newest Added", "create"),
|
||||||
Pair("Oldest Added", "create.az"),
|
Pair("Oldest Added", "create.az"),
|
||||||
Pair("Most Views Totally", "views_a"),
|
Pair("Most Views Totally", "views_a"),
|
||||||
|
@ -341,7 +341,7 @@ open class BatoTo(
|
||||||
Pair("Least Views 60 minutes", "views_h.az")
|
Pair("Least Views 60 minutes", "views_h.az")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
private class StatusFilter : UriPartFilter(
|
private class StatusFilter : UriPartFilter(
|
||||||
"Status",
|
"Status",
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
|
Loading…
Reference in New Issue