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

Forum Report summary does not page results correctly

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-80232-402
    • MDL-80232-403
    • Hide
      1. Log in as admin
      2. Create a new course:
        • Short name: CS1
        • Group mode: Separate groups
      3. Add a new forum activity to course
      4. Navigate to Users > Accounts > Upload users in site administration
      5. Upload 80232.csv and finish wizard using default values
      6. Log out
      7. Log in as student1:student1
      8. Navigate to test forum
      9. Add a new discussion topic
      10. Log out
      11. Log in as student60:student60
      12. Navigate to test forum
      13. Add a new discussion topic
      14. Log out
      15. Log in as teacher1:teacher1
      16. Navigate to test forum
      17. Select forum summary report
      18. Confirm there are only two paging options (1, 2)
      19. Navigate to 2nd page in paging options
      20. Confirm the second page shows up
      Show
      Log in as admin Create a new course: Short name: CS1 Group mode: Separate groups Add a new forum activity to course Navigate to Users > Accounts > Upload users in site administration Upload 80232.csv and finish wizard using default values Log out Log in as student1:student1 Navigate to test forum Add a new discussion topic Log out Log in as student60:student60 Navigate to test forum Add a new discussion topic Log out Log in as teacher1:teacher1 Navigate to test forum Select forum summary report Confirm there are only two paging options (1, 2) Navigate to 2nd page in paging options Confirm the second page shows up

      Hi, this is a product of 

      https://tracker.moodle.org/browse/MDL-79310

      Forum Report shows students from other groups when in Separate Groups mode

      Which was fixed in 4.1.6

      However the solution is far from good.

      I tested as an instructor and first, it took a long time to get the forum report (a symptom that the query was very large)

      And then, though only the rows belonging to my own students (by the group) were visible to me, it seems that all rows were queried, because the page navigation allowed me to move from page 1 to page 24 and more.

      However, the actual results are visible only on page 1 and 2. When you go to page 3 and more you get "Nothing to display" and the page navigation disappears.

      Shouldn't the filtering occur during the query instead of after?

      See my screenshots

      2023 11 12 Page 2 of results

      2023 11 12 Page 3 of results.

        1. (1) 18 Passed -- (Main)MDL-80232.png
          44 kB
          Kim Jared Lucas
        2. (1) 20 Passed -- (Main)MDL-80232.png
          66 kB
          Kim Jared Lucas
        3. 2023 11 12 page 2 of results.png
          97 kB
          Fabián Glagovsky
        4. 2023 11 12 page 3 of results.png
          64 kB
          Fabián Glagovsky
        5. 80232.csv
          9 kB
          Paul Holden

            pholden Paul Holden
            fabitas Fabián Glagovsky
            Mathew May Mathew May
            Mihail Geshoski Mihail Geshoski
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 18 minutes
                1h 18m

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