Commit 0497756
authored
Fix signup filtering by approval (#105)
On the request credit page, the filtering to only include non-approved requests was not effective, so we would query all signups.
On top of that, we were also sorting data chronologically, so we were only getting the 50 oldest approvals.
For folks with more than 50 signups, we would therefore not load the more recent office hours, and desk workers couldn't request credit for them.1 parent 60b8500 commit 0497756
File tree
2 files changed
+2
-1
lines changed- src
- pages/OfficeHours/RequestDeskCreditPage
- redux
2 files changed
+2
-1
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments