mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
fix: no query filtering
This commit is contained in:
parent
2a0cd2f0dc
commit
b40428794b
@ -391,7 +391,7 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) {
|
|||||||
fun apiGetList(
|
fun apiGetList(
|
||||||
tag: String,
|
tag: String,
|
||||||
endpoint: String,
|
endpoint: String,
|
||||||
filterType: HebeFilterType = HebeFilterType.BY_PUPIL,
|
filterType: HebeFilterType? = null,
|
||||||
dateFrom: Date? = null,
|
dateFrom: Date? = null,
|
||||||
dateTo: Date? = null,
|
dateTo: Date? = null,
|
||||||
lastSync: Long? = null,
|
lastSync: Long? = null,
|
||||||
@ -424,6 +424,7 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) {
|
|||||||
HebeFilterType.BY_MESSAGEBOX -> {
|
HebeFilterType.BY_MESSAGEBOX -> {
|
||||||
query["box"] = messageBox ?: data.messageBoxKey ?: ""
|
query["box"] = messageBox ?: data.messageBoxKey ?: ""
|
||||||
}
|
}
|
||||||
|
else -> {}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dateFrom != null)
|
if (dateFrom != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user