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

Aggregation callbacks in report builder

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.4
    • None
    • Report builder
    • MOODLE_400_STABLE

    Description

      In Workplace report builder we had a function column::set_aggregation_callback()

      In the LMS report builder it is missing.

      I would like to have a possibility to define how the aggregated data is displayed.

      This is especially useful for the fields such as

      • boolean - when it is single value I want to display Yes/No, when it is "Average" - I want to display "70%" (for example)
      • integer - when it is "Average" it becomes float and I want to format it with a necessary number of decimal points
      • this is a integer field but we display custom values, for example, 0 - none, 1 - some, 2 - all - I want to be able to display something useful when "Average" is used and not just "1.5"

      Attachments

        Activity

          People

            Unassigned Unassigned
            marina Marina Glancy
            Carlos Castillo, David Matamoros, Mikel Martín Corrales, Paul Holden
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: