lsgs / redcap-extended-reports

Provides various additional options to enhance REDCap's built-in reporting functionality.
GNU General Public License v3.0
1 stars 3 forks source link

Bug: DataTables warning when displaying report with checkbox on repeating instrument/event #5

Closed steentje34 closed 5 months ago

steentje34 commented 10 months ago

A DataTables warning is displayed when a report is displayed in the REDCap UI that meets following conditions:

image

After clicking the 'OK' button, the report is displayed, but there are more cells in the header of the table than there are in the actual data rows. The issue seems to have no effect on the CSV exports.

Tested on REDCap 13.1.37 · PHP 7.4.33 (Linux/Unix OS) · MariaDB 10.3.35 · Extended Reports 2.0.1

lsgs commented 5 months ago

I've fixed this error by having it force the "Combine checkbox choices" option when using an option other than "column per instance". (And return an empty value for checkbox colomns when using the "max" or "min" options.