Commit 0b6ad50
Lighter way of counting submissions on plugin dashboard (#174)
* Lighter way of counting submissions on plugin dashboard
Previously the dashboard fetched all posts for every form and only after that the submissions were counted. This does a lighter query that only returns the amount of submissions.
Co-authored-by: Christian Nikkanen <me@kisu.li>1 parent 9a57026 commit 0b6ad50
1 file changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
326 | 322 | | |
327 | 323 | | |
328 | | - | |
| 324 | + | |
329 | 325 | | |
330 | 326 | | |
331 | 327 | | |
| |||
0 commit comments