moodleou / moodle-report_customsql

A Moodle report plugin that lets you easily create simple reports that can be expressed as a single SQL query
48 stars 100 forks source link

Filters not been applied to report data #120

Open izendegi opened 2 years ago

izendegi commented 2 years ago

Hi,

We've detected that Moodle filters are not been applied to the report data of this plugin.

In our case we have a report with course category names that include filter_multilang2 notation, and we see that notation in the report instead of the filter applied (in this example it should be "Ikasgaiak" or "Asignaturas" depending on the navigation language)

imagen

I guess it could be fixed adding a call to format_string or format_text function to the data (something like this), but I had a fast look at the code and haven't been able where should be done.