mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-15345: prevent problem while running tag_compute_correlations under pgsql. (merge from 1.9)
This commit is contained in:
parent
132a0f6216
commit
eafa83ef9d
@ -786,7 +786,7 @@ function tag_compute_correlations($min_correlation=2) {
|
||||
WHERE ta.tagid = ? AND tb.tagid <> ?
|
||||
GROUP BY tb.tagid
|
||||
HAVING nr > ?
|
||||
ORDER BY nr DESC";
|
||||
ORDER BY COUNT(*) DESC";
|
||||
$params = array($tag->id, $tag->id, $min_correlation);
|
||||
|
||||
$correlated = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user