Show collections in "My pages" block

Bug #1476492 reported by Aaron Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Aaron Wells
15.10
Fix Released
Undecided
Unassigned

Bug Description

Similar to Bug 1476491, the idea here is that we add collections to the "My pages" block.

So, the block will show a list of collections & "solo pages" that don't belong to a collection. Pages that DO belong to a collection will not be listed (they'll be subsumed into their collection).

To distinguish collections from views, we'll show the number of pages after the collection title, i.e. "Page title (X pages)" similar to the "Edit access" screen.

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/4999

Revision history for this message
Aaron Wells (u-aaronw) wrote :

To test:

1. Create collections C1, C2, C3
2. Create pages P1A, P1B, P2A, P2B, P2C, P4, P5
3. Put pages P1A & P1B into Collection C1
4. Put pages P2A, P2B, P2C into Collection C1
5. View the "My pages" block on your dashboard

Expected result: You should see these listings in the block: "C1 (2 pages)", "C2 (3 pages)", "C3 (0 pages)", P4, P5. Clicking on the entry for C1, C2, P4, or P5 should take you to the page/collection in display mode. Clicking on C3 will take you to the screen for adding pages to the collection (because a collection with no pages has no display mode)

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

Reviewed: https://reviews.mahara.org/4999
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/6ff9308857783d57ef44afb443554e4b292d593c
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 6ff9308857783d57ef44afb443554e4b292d593c
Author: Aaron Wells <email address hidden>
Date: Tue Jul 21 16:27:43 2015 +1200

Add collections to "My pages" block (Bug 1476492)

Change-Id: I0d56152566ac9ca3e2a13c4404ba6841756fe344

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

This feature was sponsored by Pratt Institute in Brooklyn, NY. Thank you very much.

Changed in mahara:
status: In Progress → Fix Committed
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.