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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.6, 4.9.0
    • 4.1.5
    • None

      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>

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: