Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13025

Enabled faceted searches are sorted randomly

    XMLWordPrintable

    Details

      Description

      In a workspace Faceted search configuration (Manage -> Locale Configuration -> Faceted search configuration), the selected value are bound to:

      FacetedSearchConfigurationActions.java
      public Set<ContentViewHeader> getSelectedContentViewHeaders(
               ...
          }
      

      This method returns a HashSet of which elements are sorted randomly. This is a problem since the order of the elements actually matters. Indeed, it will determine which Faceted search shall be activated by default on a given workspace.

      We need to replace by Set by ordered list.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: