mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
MDL-80340 behat: make query to fetch h5p attempts less strict
This commit is contained in:
parent
9587029a46
commit
95da5a44a8
1 changed files with 2 additions and 2 deletions
|
@ -584,7 +584,7 @@ function h5pactivity_print_recent_activity($course, bool $viewfullnames, int $ti
|
|||
JOIN {course_modules} cm ON cm.instance = h5p.id
|
||||
JOIN {modules} md ON md.id = cm.module
|
||||
JOIN {user} u ON u.id = h5pa.userid
|
||||
WHERE h5pa.timemodified > ?
|
||||
WHERE h5pa.timemodified >= ?
|
||||
AND h5p.course = ?
|
||||
AND md.name = ?
|
||||
ORDER BY h5pa.timemodified ASC";
|
||||
|
@ -669,7 +669,7 @@ function h5pactivity_get_recent_mod_activity(array &$activities, int &$index, in
|
|||
JOIN {course_modules} cm ON cm.instance = h5p.id
|
||||
JOIN {modules} md ON md.id = cm.module
|
||||
JOIN {user} u ON u.id = h5pa.userid $groupjoin
|
||||
WHERE h5pa.timemodified > :timestart
|
||||
WHERE h5pa.timemodified >= :timestart
|
||||
AND h5p.id = :cminstance $userselect $groupselect
|
||||
AND cm.id = :cmid
|
||||
ORDER BY h5pa.timemodified ASC";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue