We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5f373e commit 8a723c7Copy full SHA for 8a723c7
classes/reportbuilder/local/entities/rule_entity.php
@@ -34,9 +34,9 @@ class rule_entity extends base {
34
* Returns the default table aliases.
35
* @return array
36
*/
37
- protected function get_default_table_aliases(): array {
+ protected function get_default_tables(): array {
38
return [
39
- 'tool_dynamic_cohorts' => 'tdc',
+ 'tool_dynamic_cohorts',
40
];
41
}
42
classes/reportbuilder/local/systemreports/matching_users.php
@@ -42,6 +42,7 @@ protected function initialise(): void {
$rule = rule::get_record(['id' => $ruleid], MUST_EXIST);
43
44
$userentity = new user();
45
+ $userentity->set_table_alias('user', 'u');
46
$usertablealias = $userentity->get_table_alias('user');
47
$this->set_main_table('user', $usertablealias);
48
$this->add_entity($userentity);
0 commit comments