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.
~Alphabetizing parks with Indigenous names should be done using the English name. (e.g., sx̌ʷəx̌ʷnitkʷ (Okanagan Falls) should be alphabetized under Oka).~
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.
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