Details
-
Task
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
Core: F - Sprint 56
-
2
-
Prokopovych
Description
Description: SearchAndSort should use field-names (corresponding to MCL's meta.name), not field-values (corresponding to MCL's meta.alias) in its onSort method so that sorting become i18n friendly. This will allow modules using SearchAndSort to use language-agnostic keys in the manifest fields defining sort options, in place of language-dependent keys as at https://github.com/folio-org/ui-users/blob/5637a6abe9e57492b095a023de472b45379111ef/Users.js#L93-L98.
Slack discussion at https://folio-project.slack.com/archives/G7FTXDWBV/p1524740752000067.