- Issue created by @pdureau
- Issue was unassigned.
- Status changed to Fixed
10 months ago 2:42pm 22 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.
Reported by https://www.drupal.org/u/tomduf_eduscolSTI →
This preprocess hook is modifying an unknow variables: $pages
function ui_suite_dsfr_preprocess_pager(array &$variables): void {
if (!isset($variables["items"]["pages"])) {
return;
}
$variables["items"]["pages"] = LinksSettingType::normalize($variables["items"]["pages"]);
unset($pages[$variables["current"] - 1]["url"]);
}
Before fixing that, let's check what feature we missed because of this mistake, and what will be the impact
Fixed
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.