Profile fields are displayed too randomly

Bug #1690221 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon

Bug Description

Seen in Mahara 16.04

When you pull the "Profile information" block onto a page and tick all the boxes, they are not displayed in that order but very randomly.

It would be good to display them again in the order that they are listed in the block configuration.

Exception will be he introduction and social profiles. The introduction will be placed above all fields as it can have text formatting, and the social profiles will be placed below all other information.

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

Reviewed: https://reviews.mahara.org/7736
Committed: https://git.mahara.org/mahara/mahara/commit/1ffd82ced52cec801852ff93ecfa60e0c621a130
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit 1ffd82ced52cec801852ff93ecfa60e0c621a130
Author: Robert Lyon <email address hidden>
Date: Wed May 10 13:07:10 2017 +1200

Bug 1690221: Add sort order to the profile types chooser

This was originally relying on the order data was placed into db -
which is brittle

Now we order this data based on the get_profile_artefact_types() array
that is hardcoded in the artefact/internal/lib.php file

behatnotneeded

Sponsored by SWITCH

Change-Id: I22307e6f84dd2561088a68c1bcaf8fd5aafb8f11
Signed-off-by: Robert Lyon <email address hidden>

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