Country in elasticsearch searches on/displaying as ISO code

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

Bug Description

If I search on 'Zealand' I get no results but if I search on 'nz' I get results

and the country profile field shows 'nz' instead of 'New Zealand'

Will need to convert ISO code to country name before indexing and will need to convert it for displaying results as well

Robert Lyon (robertl-9)
Changed in mahara:
status: New → In Progress
importance: Undecided → Medium
milestone: none → 18.04.0
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/8318

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

Reviewed: https://reviews.mahara.org/8318
Committed: https://git.mahara.org/mahara/mahara/commit/947131d722b3a81dae4e249205b61a2ba60cf6d6
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 947131d722b3a81dae4e249205b61a2ba60cf6d6
Author: Robert Lyon <email address hidden>
Date: Thu Nov 30 08:03:57 2017 +1300

Bug 1735252: Index and display the actualy country name rather than ISO code

So we can search for 'Zealand' insdead of 'nz' and get country profile result
and the country profile field shows 'New Zealand' instead of 'nz'

behatnotneeded

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

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.