Commit af5ce8da authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1829099: Display group collection title on group's "About" page


Change-Id: I3c8b901a265cf11fd31d2607696c087762e493c8
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 1d74f6ec
......@@ -319,6 +319,9 @@ class PluginBlocktypeGroupViews extends MaharaCoreBlocktype {
null, $limit, 0, true, $sort, null, false, null, null,
null, null, true);
foreach ($data['groupviews']->data as &$view) {
if (empty($view['displaytitle'])) {
$view['displaytitle'] = $view['title']; // add for collections
if (!$editing && isset($view['template']) && $view['template']) {
$collid = !empty($view['collid']) ? $view['collid'] : null;
$view['form'] = pieform(create_view_form(null, null, $view['viewid'], $collid, $collid));
Markdown is supported
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