mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-67702 mod_assign: distinct uniqueid value for grading tables.
This has the effect of making table sorting and filtering by initials apply only to the current table instance, rather than to all of them.
This commit is contained in:
parent
d330035f11
commit
05680020e7
2 changed files with 19 additions and 12 deletions
|
@ -82,7 +82,9 @@ class assign_grading_table extends table_sql implements renderable {
|
|||
$quickgrading,
|
||||
$downloadfilename = null) {
|
||||
global $CFG, $PAGE, $DB, $USER;
|
||||
parent::__construct('mod_assign_grading');
|
||||
|
||||
parent::__construct('mod_assign_grading-' . $assignment->get_context()->id);
|
||||
|
||||
$this->is_persistent(true);
|
||||
$this->assignment = $assignment;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue