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

The order of audience users for a report schedule is non-deterministic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0
    • 4.0
    • Report builder

      As noted by jpataleta in MDL-73996, the method to retrieve users who should be sent a report schedule does not sort them so can lead to randomness in the order in which they are returned:

      https://github.com/moodle/moodle/blob/9cd77c4130f55420f7f0b38d3c583a847c977b78/reportbuilder/classes/local/helpers/schedule.php#L102-L127

      We should introduce an order

            pholden Paul Holden
            pholden Paul Holden
            David Carrillo David Carrillo
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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