forked from github/szkolny
[Homework] Fix showing done homework on every profile.
This commit is contained in:
parent
da48c059ec
commit
93333a8c48
@ -50,7 +50,7 @@ class HomeworkListFragment : LazyFragment(), CoroutineScope {
|
||||
val today = Date.getToday()
|
||||
val filter = when(homeworkDate) {
|
||||
HomeworkDate.CURRENT -> "eventDate >= '${today.stringY_m_d}' AND eventIsDone = 0"
|
||||
else -> "eventDate < '${today.stringY_m_d}' OR eventIsDone = 1"
|
||||
else -> "(eventDate < '${today.stringY_m_d}' OR eventIsDone = 1)"
|
||||
}
|
||||
|
||||
val adapter = EventListAdapter(
|
||||
|
Loading…
Reference in New Issue
Block a user