Configurable Reports
Maintained by
Sara Arjona, Juan Leyva
This block is a Moodle custom reports builder.
You can create custom reports without SQL knowledge. It's a tool suitable for admins or teachers.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Any news on version for Moodle 3.3? Tried installing and it does not work, does anyone have a workaround maybe? Thank you!
Yes. Just copy a filter from the component folder, change a few variable names and update your lang/en details.
@import url("wwwroot/blocks/configurable_reports/js/codemirror/lib/codemirror.css");
@import url("wwwroot/blocks/configurable_reports/js/codemirror/addon/display/fullscreen.css");
The request:
SELECT
user2.firstname AS Prenom,
user2.lastname AS Nom,
user2.email AS Email,
course.fullname AS Cours
,(SELECT shortname FROM prefix_role WHERE id=en.roleid) AS ROLE
,(SELECT name FROM prefix_role WHERE id=en.roleid) AS RoleName
FROM prefix_course AS course
JOIN prefix_enrol AS en ON en.courseid = course.id
JOIN prefix_user_enrolments AS ue ON ue.enrolid = en.id
JOIN prefix_user AS user2 ON ue.userid = user2.id
the result is :
1 student 2 Conformité
2 2 Conformité
3 student 2 Conformité
4 student 2 Conformité
5 student 3 Déblocage
6 3 Déblocage
7 student 3 Déblocage
8 student 4 Fermeture des caisses
9 4 Fermeture des caisses
10 student 4 Fermeture des caisses
11 student 5 test