Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63817

Add page limit persistence to timeline block

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5, 3.6
    • Fix Version/s: 3.6
    • Component/s: Blocks
    • Labels:
    • Testing Instructions:
      Hide

      PHPUnit tests provided
      Prerequisites:

      1. (single/multiple) courses with atleast 10 activities in total with due dates in the future
      2. Have the Timeline block in the dashboard

      Manual instructions (Test with Boost and clean):

      1. Login as any user
      2. Set sort to 'sort by dates' option
      3. Select the filter "All" from the dropdown
      4. Toggle the page limit
      5. Confirm additional activities show up
      6. Reload page
      7. Limit should persist and be automatically selected (and match selected value in 4)
      8. The number of assignments displayed should match upto the limit specified( in 4)
      Show
      PHPUnit tests provided Prerequisites: (single/multiple) courses with atleast 10 activities in total with due dates in the future Have the Timeline block in the dashboard Manual instructions (Test with Boost and clean): Login as any user Set sort to 'sort by dates' option Select the filter "All" from the dropdown Toggle the page limit Confirm additional activities show up Reload page Limit should persist and be automatically selected (and match selected value in 4) The number of assignments displayed should match upto the limit specified( in 4)
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-63817-master

      Description

      The blocks should remember the "per page" option the user has selected in their paged content widgets so that when the page is reloaded the same number of items is rendered again rather than being reset to the default value.

      E.g. the timeline block has options to view 5,10,25 courses per page but it doesn't remember which option the user selected and will default back to 5 on each page load.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18

                  Time Tracking

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