Incorrect current page in the pager

Created on 2 September 2024, 7 months ago
Updated 3 September 2024, 7 months ago

When we have the pager like this:

The current page is incorrectly identified:
https://git.drupalcode.org/project/ui_suite_bootstrap/-/blob/5.0.x/src/H...
The $variables['items']['pages'] array is like this:

[
  2 => ...
  3 => ...
  4 => ...
]

And the normalize function returns like this:

[
  0 => ...
  1 => ...
  2 => ...
]
πŸ› Bug report
Status

Needs review

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rpayanm

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024