mirror of
https://github.com/moodle/moodle.git
synced 2025-04-11 11:23:52 +02:00
Merge branch 'MDL-83718-fix' of https://github.com/paulholden/moodle
This commit is contained in:
commit
8126ba71df
@ -175,7 +175,7 @@ class tag extends base {
|
||||
->add_joins($this->get_joins())
|
||||
->set_type(column::TYPE_BOOLEAN)
|
||||
->add_field("CASE WHEN {$tagalias}.flag > 0 THEN 1 ELSE {$tagalias}.flag END", 'flag')
|
||||
->set_is_sortable(true, ["{$tagalias}.flag"])
|
||||
->set_is_sortable(true)
|
||||
->add_callback([format::class, 'boolean_as_text']);
|
||||
|
||||
// Flag count.
|
||||
|
Loading…
x
Reference in New Issue
Block a user