mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
Merge branch 'MDL-57455' of https://github.com/stronk7/moodle
This commit is contained in:
commit
23e5b74954
@ -3933,11 +3933,11 @@ function data_get_recordids($alias, $searcharray, $dataid, $recordids) {
|
||||
$tagwhere = [];
|
||||
$tagselect = '';
|
||||
foreach ($nestsearch->rawtagnames as $tagrawname) {
|
||||
$tagselect .= " INNER JOIN {tag_instance} AS ti_$i
|
||||
$tagselect .= " INNER JOIN {tag_instance} ti_$i
|
||||
ON ti_$i.component = 'mod_data'
|
||||
AND ti_$i.itemtype = 'data_records'
|
||||
AND ti_$i.itemid = r.id
|
||||
INNER JOIN {tag} AS t_$i
|
||||
INNER JOIN {tag} t_$i
|
||||
ON ti_$i.tagid = t_$i.id ";
|
||||
$tagwhere[] = " t_$i.rawname = :trawname_$i ";
|
||||
$params["trawname_$i"] = $tagrawname;
|
||||
|
Loading…
x
Reference in New Issue
Block a user