Custom profile field for country doesn't display real name in "User search"
Bug #1683202 reported by
Kristina Hoeppner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon | ||
17.04 |
Fix Released
|
Medium
|
Robert Lyon | ||
17.10 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
New Mahara 17.04 feature implemented in bug #1661125.
When you select to display the country in the user search table, it only displays the country code, but not the actual human readable country name.
How to replicate:
1. On /admin/
2. Fill in the country "New Zealand" for your user under Content -> Profile -> Contact information.
3. Go to Administration -> Users -> User search and view the table.
Expected result: See "New Zealand" in the "Country" column.
Actual result: You see "nz".
summary: |
- Custom profile field fo country doesn't display real name in "User + Custom profile field for country doesn't display real name in "User search" |
To post a comment you must log in.
will need something like
function format_result($raw) { "country. {$raw}" );
return get_string(
}
See: custom patch