Commit 746e375
MDL-81481 assign grading: speed up assign 'View all submissions' page
the 'View all submissions' page was fairly slow when dealing with large databases.
Solution: Utilize a static 'capability_checker' in 'filter_user_list' to prevent reinitialization.
Requests made by 'get_users_by_capability' will be cached, thus enhancing performance for large databases.1 parent 263b3c3 commit 746e375
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
637 | | - | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
638 | 643 | | |
639 | 644 | | |
640 | 645 | | |
| |||
0 commit comments