bcgov / bcparks-ar-admin

BCParks Attendance and Revenue Admin
Apache License 2.0
4 stars 11 forks source link

Park dropdown type ahead should show parks in alphabetical order #273

Open kgorana opened 1 year ago

kgorana commented 1 year ago

Description

This ticket is to alphabetize the park search list in A&R Admin. In order to reduce load client side, the parks should be pulled in in alphabetical order from our API (currently the parks appear in order of their orcs).

Dynamodb has some restrictions around ordering data. With Dynamodb, the best option is to use a Local Secondary Index in order to sort by park names.

Acceptance Criteria:

When the user clicks the Park field, it should display the parks available to that user in alphabetical order.

Notes

It is currently impossible for us to sort parks alphabetically based only on the English name, as the way parks are named is inconsistent with some parks having the Indigenous name appear before the English name and vice versa.

This ticket is the api side of the ticket BRS-770: Park drop down type ahead should show that more parks are available than just what is listed in drop down

Linked issues

relates to

LindsayMacfarlane commented 3 weeks ago

October 11, 2024 prioritization session: A&R team identified this ticket/issue as low priority.

Mural board: https://app.mural.co/t/bcparks2575/m/bcparks2575/1728427370222/4c9714df914c7ec8bdcf20a9ee1999cc9e664a27?wid=0-1728427872927