Submissions to group; only last five submissions display

Bug #1485763 reported by Hrynkiw
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Son Nguyen
15.04
Fix Released
High
Son Nguyen
15.10
Fix Released
High
Son Nguyen

Bug Description

In a Controlled group page, under heading "Submissions to this group", only the last five submissions are listed. Clicking on the link for the Next page displays "undefined" under the same heading; we expect to see earlier submissions. Even if there are 35 submissions (generating estimated 7 pages) links for only two pages are offered.

Link on 2/Next/Last: https://[mahara]/group/view.php?id=723&group=723&editing=&offset=5

Steps to reproduce:
1. With a user (teacher) with Site staff role, create a controlled group.
2. Add at least six users (students) to the group.
3. Logging in as each of the students in turn, submit a collection or page to the controlled group. (You may wish to view the list of entries under the group's 'Submissions to this group' heading as you go.)
4. When you've submitted more than five collections or pages, the link to page 2 / Next will appear. Clicking on the link will display the Group page with 'Submissions to this group' = undefined.

Mahara 15.04.1, Linux, mySQL
I believe this is our first use of a Controlled group in this way since we upgraded a few months ago from v1.9 a few months ago.

Revision history for this message
Hrynkiw (donna-hrynkiw-u) wrote :
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

I tested with a fresh 15.04 and then an upgraded 15.10dev and encounter the same issue with the submitted pages / collections. The second page doesn't return any results and just says "undefined".

Ubuntu 14.04 with PostgreSQL

Changed in mahara:
status: New → Confirmed
importance: Undecided → High
milestone: none → 15.10.0
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/5205

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

Reviewed: https://reviews.mahara.org/5205
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/97c59a748cb18c418102431dafe9e697b9391e65
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 97c59a748cb18c418102431dafe9e697b9391e65
Author: Son Nguyen <email address hidden>
Date: Thu Sep 3 09:15:14 2015 +1200

Fix pagination in the list of submission to group. Bug 1485763

behatnotneeded: this is a regression (group/group_view_block.feature)

Change-Id: I4e4bc2430f6ae3d154ffe30266ebdad274f9ea45

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

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/5432

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

Reviewed: https://reviews.mahara.org/5432
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/22cf6d410462c71ccfca9714e843dc2ba7e38dd0
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit 22cf6d410462c71ccfca9714e843dc2ba7e38dd0
Author: Son Nguyen <email address hidden>
Date: Thu Sep 3 09:15:14 2015 +1200

Fix pagination in the list of submission to group. Bug 1485763

behatnotneeded: this is a regression (group/group_view_block.feature)

Change-Id: I4e4bc2430f6ae3d154ffe30266ebdad274f9ea45

Robert Lyon (robertl-9)
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.