-
Bug
-
Resolution: Fixed
-
Major
-
3.9 regressions, 3.9.1
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-69336-master -
-
0
-
International 4.0 - Sprint 2, International 4.0 - Sprint 3
When clicking the icons to collapse columns (such as on the course participants page), the request is sent, but no change is made to the table.
It appears that when some code was refactored so that resetting table preferences became dynamic, the call to set the hiding preferences was accidentally removed, so the request is received, but nothing in the backend actions the hiding of the column(s).
It appears that $this->set_hide_show_preferences() needs to be called where the other preferences are being set, however that doesn't seem to be a complete fix, because un-hiding hidden columns results in their widths being too narrow, which will also need to be corrected.
There is also a JS error being thrown in the console after hiding/un-hiding columns.