Merge branch 'MDL-74497-fixup' of https://github.com/dravek/moodle

This commit is contained in:
Jun Pataleta 2022-05-18 22:04:47 +08:00
commit b83a64b466

View file

@ -64,7 +64,8 @@ class courses extends datasource {
ON {$coursecattablealias}.id = {$coursetablealias}.category"));
// Add all columns/filters/conditions from entities to be available in custom reports.
$this->add_all_from_entities();
$this->add_all_from_entity($coursecatentity->get_entity_name());
$this->add_all_from_entity($courseentity->get_entity_name());
}
/**