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

Course reminder: persist customized settings for table

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.5.19, 13.2.1
    • Component/s: Course
    • Labels:
      None

      Description

      The following patch adds the missing feature for persisting the user made customization for visible table colums in course reminder:

       

      diff --git a/src/main/java/org/olat/course/reminder/ui/CourseReminderListController.java b/src/main/java/org/olat/course/reminder/ui/CourseReminderListController.java
      index fb217c1..2e0ff65 100644
      --- a/src/main/java/org/olat/course/reminder/ui/CourseReminderListController.java
      +++ b/src/main/java/org/olat/course/reminder/ui/CourseReminderListController.java
      @@ -123,6 +123,7 @@
       		
       		tableModel = new CourseReminderTableModel(columnsModel);
       		tableEl = uifactory.addTableElement(getWindowControl(), "table", tableModel, 20, false, getTranslator(), formLayout);
      +		tableEl.setAndLoadPersistedPreferences(ureq, "course-reminder-list");
       		updateModel();
       	}
       	
      diff --git a/src/main/java/org/olat/course/reminder/ui/CourseSendReminderListController.java b/src/main/java/org/olat/course/reminder/ui/CourseSendReminderListController.java
      index 8f57cf4..3a44b79 100644
      --- a/src/main/java/org/olat/course/reminder/ui/CourseSendReminderListController.java
      +++ b/src/main/java/org/olat/course/reminder/ui/CourseSendReminderListController.java
      @@ -130,6 +130,7 @@
       		tableModel = new CourseSendReminderTableModel(columnsModel);
       		tableEl = uifactory.addTableElement(getWindowControl(), "table", tableModel, 20, false, getTranslator(), formLayout);
       		tableEl.setElementCssClass("o_sel_course_sent_reminder_list");
      +		tableEl.setAndLoadPersistedPreferences(ureq, "course-sent-reminder-list");
       		updateModel();
       	}
       	
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 25 minutes
                25m