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

Report > Logs pages miss origin parameter upon pagination

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.4, 3.3.1
    • 3.2.5, 3.3.2
    • Reports
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-59963-report-logs-origin-pagination
    • Hide
      • Open a course log page under Report > Logs, that's something like https://qa.moodle.net/report/log/index.php?id=2.
      • Select an origin, e.g. change "All sources" to "Web".
      • Press the "Get these logs" button.
      • The results appear.
      • If the results have more than one page (we hope so!), skip to the next one by using the pagination.
      • The next page is shown with just the results with the previously selected origin and the selection in the pulldown selector preserved.
      Show
      Open a course log page under Report > Logs, that's something like https://qa.moodle.net/report/log/index.php?id=2 . Select an origin, e.g. change "All sources" to "Web". Press the "Get these logs" button. The results appear. If the results have more than one page (we hope so!), skip to the next one by using the pagination. The next page is shown with just the results with the previously selected origin and the selection in the pulldown selector preserved.

    Description

      Upon showing the logs report having a origin filter (e.g. "Web" or "Webservice") when you paginate, the filter is not kept but misses and jumps to default "All sources".

      To reproduce

      • Open a course log page under Report > Logs, that's something like https://qa.moodle.net/report/log/index.php?id=2.
      • Select an origin, e.g. change "All sources" to "Web".
      • Press the "Get these logs" button.
      • The results appear.
      • If the results have more than one page (we hope so!), skip to the next one by using the pagination.

      What you expect

      • The next page is shown, honoring the "Web" origin choice.

      What actually happens

      • A next page is shown, but regardlessly of the origin choice. The selection skips back to "All sources" and no origin parameter exists in the URL.

      Attachments

        Activity

          People

            lucaboesch Luca Bösch
            lucaboesch Luca Bösch
            Jake Dallimore Jake Dallimore
            David Monllaó David Monllaó
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Sep/17