Add new stories: Pagination

Created on 10 July 2025, 23 days ago

Problem/Motivation

Following https://github.com/GouvernementFR/dsfr/releases/tag/v1.14.0 stories, add a story to display the last page on pagination

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇫🇷France goz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @goz
  • 🇫🇷France mogtofu33

    We don't have this feature in Drupal pagination, the last page is already available with 'last' property.
    So I don't think there is a story to update here. To discuss.

  • 🇫🇷France goz

    I thought about a story to show how the pagination will display in case we are in the last page (next page link and last page link are disabled).

    I agree that this is really a minor feature.

  • 🇫🇷France pdureau Paris

    We don't have this feature in Drupal pagination, the last page is already available with 'last' property.

    Indeed, it is present in the data retrieved from Druapl API, but we are not forced to use it in our pager.html.twig (and views-mini-pager.html.twig?) presenter template(s), or in plugins with the Render API.

Production build 0.71.5 2024