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(
|
||||
tag: String,
|
||||
endpoint: String,
|
||||
filterType: HebeFilterType = HebeFilterType.BY_PUPIL,
|
||||
filterType: HebeFilterType? = null,
|
||||
dateFrom: Date? = null,
|
||||
dateTo: Date? = null,
|
||||
lastSync: Long? = null,
|
||||
@ -424,6 +424,7 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) {
|
||||
HebeFilterType.BY_MESSAGEBOX -> {
|
||||
query["box"] = messageBox ?: data.messageBoxKey ?: ""
|
||||
}
|
||||
else -> {}
|
||||
}
|
||||
|
||||
if (dateFrom != null)
|
||||
|
Loading…
Reference in New Issue
Block a user