Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-8014

"Total record count" should not be between HEADER and RECORDS in template output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.2
    • Fix Version/s: None
    • Labels:
      None
    • Plugin Version:
      3.8.0
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      When using a template, the message "Total record count" appears in the middle of the report, between the Header part and the Record list.

      Therefore it completely breaks the html structure of the report. It is impossible to get a nice table with the columns heading in the HEADER part and the RECORDS below as stated in the documentation

       https://docs.moodle.org/38/en/Configurable_reports#Templates

       

      HEADER

      <table>

      <tr> <th>id</th> <th>shortname</th> </tr>

       

      RECORDS

      {{<tr> <td>[[id]]</td> <td>[[shortname]]</td>}}

       

      FOOTER

      </table>

       

      (Note that to create such a template, you need to deactivate ATTO by choosing "plain text area" in profile, preference,  editor preferences, otherwise the html is automatically corrected after edition (maybe this could be added in the documentation)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jleyva Juan Leyva
              Reporter:
              Fra FxPar
              Participants:
              Component watchers:
              Juan Leyva, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: