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

Missing "next" on fourth page of users navigation in messages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.9.6, 3.0.4
    • 2.9.5, 3.0, 3.1
    • Messages
    • MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-52388-master
    • Hide
      1. Make a course and enrol some students (at least 4).
      2. Navigate to "Current course" > "Participants".
      3. Modify the URL by adding the param perpage=1
      4. Verify it works as expected.
      5. Change perpage to some different values, verify it still works OK.
      6. Modify the file lib/outputcomponents.php - change paging_bar's $maxdisplay propery to 4.
      7. Go back to the list and make sure that when you are on page 4 you still see the "Next" link.
      8. Try the same thing but with changing $maxdisplay to 3, 2 and 1. Verify page 3, 2 and 1 (respectively) display the "Next" link.
      Show
      Make a course and enrol some students (at least 4). Navigate to "Current course" > "Participants". Modify the URL by adding the param perpage=1 Verify it works as expected. Change perpage to some different values, verify it still works OK. Modify the file lib/outputcomponents.php - change paging_bar 's $maxdisplay propery to 4. Go back to the list and make sure that when you are on page 4 you still see the "Next" link. Try the same thing but with changing $maxdisplay to 3, 2 and 1. Verify page 3, 2 and 1 (respectively) display the "Next" link.

      Hi,
      our student noticed a very strange bug. When navigating users list in messages only on page 4 the link "next" disappears (URI: .../index.php?user1=714&user2=470&viewing=course_7&page=3).
      I see no errors/warnings ir php log.

        1. ok.png
          ok.png
          63 kB
        2. bad.png
          bad.png
          74 kB

            cameron1729 cameron1729
            emanuelis Emanuelis Norbutas
            cameron1729 cameron1729
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.