List group categories alphabetically

Bug #920252 reported by Kristina Hoeppner
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Unassigned

Bug Description

Group categories should be displayed in alphabetical order around the site, e.g. in the drop-down menus on My Groups, Find Groups, the group creation / edit screen and in the site administration on the group categories page /admin/groups/groupcategories.php instead of listing the categories according to their database ID / creation date.

tags: added: groups
tags: added: usability
Changed in mahara:
status: New → Triaged
tags: added: bite-sized
Son Nguyen (ngson2000)
Changed in mahara:
assignee: nobody → Son Nguyen (ngson2000)
status: Triaged → In Progress
Revision history for this message
Son Nguyen (ngson2000) wrote :

Group categories should be displayed by admin defines. Therefore, in the page /admin/groups/groupcategories.php we need to add a function to change the order. For example, each category may have 2 buttons to move up or down in the list.

Changed in mahara:
status: In Progress → Opinion
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hi Son,

Good idea. That gives the admin quite a bit of flexibility further down the track in case there are categories that should be listed in non-alphabetical order. I don't see it as high priority as alphabetical listing is the standard for many drop-down menus, e.g. countries, languages, unless you want to highlight a specific one.

But it would be nice to be flexible in the order if you want to be. So: Yes to the order buttons from my end. :-)

Cheers
Kristina

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

Upon reflection, I think an alphabetical listing should be implemented first and foremost. Sorting groups manually could be nice, but the sort order may not be clear to users. Thus, I think an alphabetical listing would still be better. If group categories should be close to each other, they could be named so that they appear together.

I think sorting them manually could potentially require sub categories rather than just categories. Then I would see the point for re-ordering more.

Changed in mahara:
assignee: Son Nguyen (ngson2000) → nobody
status: Opinion → Confirmed
tags: added: snack-sized
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/7490

Revision history for this message
Mahara Bot (dev-mahara) wrote :

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

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 17.04.0
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7491
Committed: https://git.mahara.org/mahara/mahara/commit/6de94bad3dcf814ed3800a19471dce8e282e532c
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 6de94bad3dcf814ed3800a19471dce8e282e532c
Author: Fergus Whyte <email address hidden>
Date: Mon Feb 27 16:17:31 2017 +1300

Bug #920252 Make group categories appear in alphabetical order.
behatnotneeded
Change-Id: If45120ccbd387b7198a3e15b666d43f14386a9a2

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
tags: added: usermanualupdate
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.