Group pages paginator and display different for group members compared to group admins

Bug #1326593 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Son Nguyen

Bug Description

When a regular group member who can not edit group pages views /view/groupviews.php, she only sees a maximum of 5 pages and has a paginator. When the group admin views that same page, he has a maximum of 10 pages, paginator when more than 10 pages are there and the drop-down box with how many pages to show at maximum.

The member's view should be the same as for the admins.

Tags: bite-sized
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Best to be done in conjunction with bug #1326594

Changed in mahara:
importance: Medium → High
Son Nguyen (ngson2000)
Changed in mahara:
assignee: nobody → Son Nguyen (ngson2000)
status: Confirmed → In Progress
Son Nguyen (ngson2000)
description: updated
Revision history for this message
Son Nguyen (ngson2000) wrote :

Steps to test

1. Create a group, set only 'Group administrators' can create and edit pages
2. Add some group pages (>5)
3. Add a group member
4. Login as the group member, you will see only 5 pages in /view/groupviews.php

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/3669

Revision history for this message
Son Nguyen (ngson2000) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/3669
Committed: http://gitorious.org/mahara/mahara/commit/078fd2770a1e34b1d54c41a43e5916c96076f91a
Submitter: Ghada El-Zoghbi (<email address hidden>)
Branch: master

commit 078fd2770a1e34b1d54c41a43e5916c96076f91a
Author: Son Nguyen <email address hidden>
Date: Thu Aug 28 14:58:35 2014 +1200

Configure the pagination of the list of group pages (Bug 1326593)

for group members

Change-Id: I2f34e1b3147fd1544283cf0cbd4971e31d3acc2d
Signed-off-by: Son Nguyen <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.