Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9366

In the search result, sorting by title is not preserved when we go to the next page

XMLWordPrintable

    • 4.10 M3

      The name of the input hidden seems to have been renamed into the pagination-input-hidden template :
      Before :

      <xsl:choose>
                  <xsl:when test="/search/sort-by-title-for-sorting">
                      <input type="hidden" name="sort-by-title-for-sorting"/>
                  </xsl:when>
                  <xsl:when test="/search/sort-by-date">
                      <input type="hidden" name="sort-by-date"/>
                  </xsl:when>
                  <xsl:otherwise>
                  </xsl:otherwise>
              </xsl:choose>

      After :

      <xsl:choose>
                  <xsl:when test="/search/sort-by-title_sort">
                      <input type="hidden" name="sort-by-title_sort"/>
                  </xsl:when>
                  <xsl:when test="/search/sort-by-lastValidation">
                      <input type="hidden" name="sort-by-lastValidation"/>
                  </xsl:when>
                  
                  <xsl:otherwise>
                  </xsl:otherwise>
              </xsl:choose>

            laurence Laurence Aumeunier
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: