Commit 00fba1ca authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1636061: Journals block shows group name instead shortname

When adding a Recent journal entries block to a page,
the group journals listed to be selected show the group name
as a detail, instead of the group shortname


Change-Id: Ib26a72cd353928eaf7255dcb0adb6a626ab53c26
parent 6dd73397
......@@ -3235,7 +3235,7 @@ class View {
if (!empty($artefact->group)) {
$group = get_record('group', 'id', $artefact->group);
$artefact->groupname = !empty($group->shortname) ? $group->shortname : $group->name;
$artefact->groupname = $group->name;
$artefact->groupurl = get_config('wwwroot') . 'group/view.php?id=' . $group->id;
else if (!empty($artefact->institution)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment