Skip to content
Permalink
Browse files
Merge branch 'MDL-57455' of https://github.com/stronk7/moodle
  • Loading branch information
David Monllao committed Oct 16, 2017
2 parents 7f1f78d + 76feb5a commit 23e5b74954b66a822fa667fee939f0c06bce055f
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/data/lib.php
@@ -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;

0 comments on commit 23e5b74

Please sign in to comment.