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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.8.2
    • None
    • 3.8.0
    • MOODLE_38_STABLE

      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)

            jleyva Juan Leyva
            Fra FxPar
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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