Commit 6a077cda authored by Robert Lyon's avatar Robert Lyon
Browse files

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

Fixing for pagination as well


Change-Id: I36815af5ceac75bdc8ee389f478a2bb037fe0452
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 762eb128
......@@ -58,6 +58,9 @@ $groupviews = (array)View::view_search(null, null, (object) array('group' => $gr
null, $limit, $offset, true, $sort, null,
false, null, null, null, null, true);
foreach ($groupviews['data'] as &$view) {
if (empty($view['displaytitle'])) {
$view['displaytitle'] = $view['title']; // add for collections
if (isset($view['template']) && $view['template']) {
$collid = !empty($view['collid']) ? $view['collid'] : null;
$view['form'] = pieform(create_view_form(null, null, $view['id'], $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