Be flexible in the number to results shown on a page
Bug #781989 reported by
Kristina Hoeppner
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Son Nguyen |
Bug Description
On bug #707860 the suggestion was made to show all members of a group at once. In groups that are very large this may not be useful. Instead, we propose to allow a user to choose how many results he would like to see, e.g. 10, 25, 50, 100, 500 per page.
This is not only useful for displaying the number of members in a group but for any overview page where basically search results are displayed: pages, collections, group. Thus, this feature would be good to have available in all these places.
Changed in mahara: | |
status: | New → Triaged |
tags: | added: pager |
Changed in mahara: | |
assignee: | nobody → Son Nguyen (ngson2000) |
status: | Triaged → In Progress |
milestone: | none → 1.6.0 |
tags: | added: newfeature1.6 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/1182 gitorious. org/mahara/ mahara/ commit/ f3162f804855a3c dfa560339028da7 a29560a491
Committed: http://
Submitter: Richard Mansfield (<email address hidden>)
Branch: master
commit f3162f804855a3c dfa560339028da7 a29560a491
Author: Son Nguyen <email address hidden>
Date: Fri May 18 16:36:15 2012 +1200
Be flexible in the number to results shown on a page Bug#781989
1. Added a new feature to build_pagination: true/disable= false choosing limit values
- setlimit: enable=
from the array limitoptions
- the array limitoptions (page sizes) has been hardcoded
inside build_pagination function.
2. Enable this feature to group member search and porfolio pages search
Note: The default number of pages in Porfolio/Pages has been changed to
20
To enable this feature function( ) {p = {$pagination[ 'javascript' ]}});"; >assign( 'INLINEJAVASCRI PT', $js);
1. pass 'setlimit' => true to build_pagination function
2. $js = "addLoadEvent(
3. $smarty-
Change-Id: Ib44b28d50895c6 ea604bb1aedaeba e3a3f1bfc1a
Signed-off-by: Son Nguyen <email address hidden>