Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2062

Task correction tab, missing feature: paging

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            stephan Stephan Clemenz
            Tester:
            Stephan Clemenz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m