Skip to content

Commit

Permalink
Add nested name of category to cohort syncronizations table (full pat…
Browse files Browse the repository at this point in the history
…h with all parents)
  • Loading branch information
mserve authored and Adrian Perez committed Apr 13, 2021
1 parent 98759c1 commit d9ca459
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/output/summary_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ public function col_category(\stdClass $record) {
}

$persistent = new persistent(0, $record);
$category = \core_course_category::get($persistent->get_category()->id);

return $persistent->get_category()->name;
return $category->get_nested_name();
}

/**
Expand Down

0 comments on commit d9ca459

Please sign in to comment.