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

The "last page" button of the pagination should appear when you display the third page starting from the end

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.10, 4.9.0
    • None
    • None
    • None
    • FF

      On plugin-web/stylesheets/utils.xsl, line 86,

      <xsl:if test="$current-page/@index &lt; ($nbPages - 2)">

      should include the third page starting from the end :

      <xsl:if test="$current-page/@index &lt;= ($nbPages - 2)">

          [CMS-5395] The "last page" button of the pagination should appear when you display the third page starting from the end

          Indeed, the "first" button appears when "1" is not visible
          But there is a moment where both "last" and 10 buttons appears (for a ten pages search)

          Raphaël Franchet added a comment - Indeed, the "first" button appears when "1" is not visible But there is a moment where both "last" and 10 buttons appears (for a ten pages search)

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

              Created:
              Updated: