Uploaded image for project: 'stripes-smart-components'
  1. stripes-smart-components
  2. STSMACOM-93

refactor SearchAndSort.onSort to handle meta.name

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 2.1.0
    • 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.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                zburke Zak_Burke
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases