Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-621

Make it possible to sort aggregates by title

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Widgets
    • Release Notes Summary:
      Aggregation widgets can now be sorted by the label with the *sort-by-label* boolean property. i.e. `<nuxeo-checkbox-aggregation sort-by-label .../>`
    • Tags:
    • Backlog priority:
      900
    • Upgrade notes:
      Hide

      Aggregation widgets can now be sorted by the label with the sort-by-label boolean property. i.e. `<nuxeo-checkbox-aggregation sort-by-label .../>`

      Show
      Aggregation widgets can now be sorted by the label with the sort-by-label boolean property. i.e. `<nuxeo-checkbox-aggregation sort-by-label .../>`
    • Sprint:
      nxGang Sprint 10.2.2
    • Story Points:
      2

      Description

      Currently aggregate values in a search form can be sorted by count or by term. However the term is not always human readable, in particular with aggregates on Document fields.

      We could change the behavior of "sort by term" to rely on a specific property, depending on the type of field:

      • for Document, it would sort by title
      • for Vocabulary, it would sort by label
      • for User, it would sort by "firstname lastname"

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h