mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 15:32:32 +02:00
filters: MDL-7336 was missing the table prefix from one column.
Probably does not matter, but I'm adding it in case.
This commit is contained in:
parent
dfd1512d21
commit
3bba572f0e
@ -725,7 +725,7 @@ function filter_get_available_in_context($context) {
|
||||
FROM {filter_active} f
|
||||
JOIN {context} ctx ON f.contextid = ctx.id
|
||||
WHERE ctx.id IN ($contextids)
|
||||
GROUP BY filter
|
||||
GROUP BY f.filter
|
||||
HAVING MIN(f.active) > " . TEXTFILTER_DISABLED . "
|
||||
ORDER BY MAX(f.sortorder)) parent_states
|
||||
LEFT JOIN {filter_active} fa ON fa.filter = parent_states.filter AND fa.contextid = $context->id";
|
||||
|
Loading…
x
Reference in New Issue
Block a user