Buenas tardes,
Good afternoon,
http://docs.moodle.org/24/en/ad-hoc_contributed_reports
En el enlace original de ad-hoc contributed reports leí que se pueden realizar FILTROS sobre los REPORTS (moodle 2) de la siguiente manera:
Enrolled users,which did not login into the Course, even once (Moodle 2)
Designed forMoodle 2 table structure and uses special plugin filter : %%FILTER_SEARCHTEXT:table.field%%
Tengo la version 2.3.3 y He añadido un SEARCHFILTER a mi consulta SQL, pero ¿Cómo uso ahora ese filtro sino hay ningún desplegable para poder seleccionar o como introducir ese parámetro para que el filtro actúe ?
La consulta es la siguiente:
SELECT distinct u.firstname Nombre,u.lastname Apellido,c.shortname Curso, sc.name, FROM_UNIXTIME(st.timemodified,"%m-%d-%Y") Fecha, st.attempt Intento,st.value Tiempo
FROM prefix_scorm_scoes_track AS st
JOIN prefix_user AS u ON st.userid=u.id
JOIN prefix_scorm AS sc ON sc.id=st.scormid
JOIN prefix_course AS c ON c.id=sc.course
WHERE st.element like '%cmi.core.total_time%' or st.element like '%latency%' and u.firstname not like '%Administrador%' and u.lastname not like '%UAU%' and u.firstname not like '%Alumno%'
ORDER BY c.fullname, u.lastname,u.firstname, st.attempt, st.timemodified ASC
%%FILTER_YEARS:u.lastname%%
La consulta SQL se guarda correctamente en el sistema pero en la pestaña de filtros tampoco puedo añadir ningun filtro desplegable adicional y no se me ocurre cómo puedo introducir ese parámetro.
¿Cómo podría introducir el apellido por el que quiero filtrar?
Agradezco vuestra ayuda y además os cedo este informe que lo que hace es sacar las fechas de inicio y fin de matricula de todos los cursos y todos los usuarios.
Si nadie sabe manejar el filtro, al menos, ¿Cómo podría sacar este tipo de informe para alumnos en concreto? ¿Alguna idea?
ENGLISH:
The SQL query is stored correctly in the system but in the Filters tab I can not add any additional dropdown filter and I can not think how I can enter this parameter.
How could enter the name by which I filter?
I appreciate your help and also I give you this report does is draw the start and end dates of enrollment for all courses and all users.
If anyone knows how to handle the filter, at least, how could I get this kind of report for specific students? Any idea?