Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Labels:
      None

      Description

      Hi, it's not possible to set different ordering for SOLR results than ascending.

      It's hardcoded in:
      info.magnolia.search.solrsearchprovider.logic.providers.FacetedSolrSearchProvider#prepareSolrQuery:

      if(this.model.getSortField() != null)

      { SortClause sortClause = SortClause.create(this.model.getSortField(), ORDER.asc); solrQuery.setSort(sortClause); }

      In my opinion, it should also come from model (just like sortField)

        Attachments

          Activity

            People

            • Assignee:
              mdivilek Milan Divilek
              Reporter:
              mchruscielewski Mariusz Chruscielewski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: