-
Bug
-
Resolution: Fixed
-
Major
-
4.4.7, 4.5.3
-
2
-
WP Sprint 2025-I1.3 (Clones)
The code for dynamically updating table content is thus:
The problem is that the table that is being dynamically updated is not necessarily the same table upon which we dispatch the event
The problem is the same as reported in MDL-85001 - when there are two of the same report builder reports on a page (similar scenario as described in that issue, e.g. multiple blocks, each pointing at the same report), then events that should be triggered for the second report are instead triggered for the first instance of the report in the DOM
This is because getTableFromId(tableRoot.dataset.tableUniqueid); will return the same value for each table, because they each have the following attribute:
data-table-uniqueid="custom-report-table-306"
|
This problem could be reproduced in Moodle if ever a situation arose where the same dynamic table was rendered multiple times in DOM, however it's more prevalent in Workplace with our report block and the chart visualisation project
- has been marked as being related by
-
MDL-85001 Report builder filtering doesn't work when report duplicated on page
-
- Closed
-