-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin countries sort by name #4005
Comments
if in query, i think only possibility is to translate like we did for repositoryItems if done in db level translations, an accordion can be shown in admin page displaying country names allowing admin to edit the translations directly not sure if there is any other way, if we fetch paginated results thoughts @yaguzmang @minotogna |
Just looked at how repositoryItems is handled. If we will add filtering/data-export, then handling it here the same way as for repositoryItems would be the best IMO. The quickest and simplest now would be to filter at the controller with level with JS as Miró says, and that's feasible since there are only 256 records, but it would be inconsistent with how we handle things in other endpoints. It has the advantage though that we wouldn't have the country translations in two different places. |
@sorja @yaguzmang we cannot filter at controller level . The query must sort results because it is paginated , and sorting must be global . |
Should be sorted by list name (see data export), not country iso
The text was updated successfully, but these errors were encountered: