Commit 1fd6e938 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 <>
(cherry picked from commit af5ce8da)
parent 22a89c94
......@@ -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