Comment 8 for bug 1304053

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

Reviewed: https://reviews.mahara.org/3462
Committed: http://gitorious.org/mahara/mahara/commit/1a9a4081a8bff0c9f364340bcd098f69a32fe59b
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 1a9a4081a8bff0c9f364340bcd098f69a32fe59b
Author: Son Nguyen <email address hidden>
Date: Fri Jun 27 14:30:49 2014 +1200

Refactor the function group_get_user_groups(). Bug 1304053

- Add function comment,
- Make it compatible to old calls
- Sort the list out of the queries to reduce the MYSQL queries
- Set the sort default value when displaying the my group side bar

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