-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.4.11
-
Fix Version/s: 10.5.2
-
Labels:None
-
Funded by:
We have several teachers who have large courses with tasks. After they've done the correction of the 53. student they got lost in a table of 127 students when trying to correct the task of no. 54
For those teachers, paging of the table is a heavily missed feature:
diff --git a/src/main/java/org/olat/course/nodes/gta/ui/GTACoachedGroupListController.java b/src/main/java/org/olat/course/nodes/gta/ui/GTACoachedGroupListController.java --- a/src/main/java/org/olat/course/nodes/gta/ui/GTACoachedGroupListController.java +++ b/src/main/java/org/olat/course/nodes/gta/ui/GTACoachedGroupListController.java @@ -87,7 +87,8 @@ columnsModel.addFlexiColumnModel(new StaticFlexiColumnModel("select", translate("select"), "select")); tableModel = new CoachGroupsTableModel(columnsModel); - tableEl = uifactory.addTableElement(getWindowControl(), "entries", tableModel, getTranslator(), formLayout); + tableEl = uifactory.addTableElement(getWindowControl(), "entries", tableModel, 10, false, getTranslator(), formLayout); + tableEl.setShowAllRowsEnabled(true); } protected void updateModel() { diff --git a/src/main/java/org/olat/course/nodes/gta/ui/GTACoachedParticipantListController.java b/src/main/java/org/olat/course/nodes/gta/ui/GTACoachedParticipantListController.java --- a/src/main/java/org/olat/course/nodes/gta/ui/GTACoachedParticipantListController.java +++ b/src/main/java/org/olat/course/nodes/gta/ui/GTACoachedParticipantListController.java @@ -172,7 +172,8 @@ columnsModel.addFlexiColumnModel(new StaticFlexiColumnModel("select", translate("select"), "select")); tableModel = new CoachParticipantsTableModel(userPropertyHandlers, getLocale(), columnsModel); - tableEl = uifactory.addTableElement(getWindowControl(), "entries", tableModel, getTranslator(), formLayout); + tableEl = uifactory.addTableElement(getWindowControl(), "entries", tableModel, 10, false, getTranslator(), formLayout); + tableEl.setShowAllRowsEnabled(true); } protected void updateModel() {
In this context, stepping forward to the next and backwards to the previous user or group would be very nice