Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Fixed

- Fix massive action PDF export redirecting to item list instead of generating the PDF

## [4.1.2] - 2026-01-08

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions inc/common.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,8 @@ public static function processMassiveActionsForOneItemtype(
}
$_SESSION['plugin_pdf']['type'] = $item->getType();
$_SESSION['plugin_pdf']['tab_id'] = serialize($tab_id);
echo "<script type='text/javascript'>
location.href='" . $CFG_GLPI['root_doc'] . "/plugins/pdf/front/export.massive.php'</script>";
$ma->itemDone($item->getType(), $ids, MassiveAction::ACTION_OK);
$ma->setRedirect($CFG_GLPI['root_doc'] . '/plugins/pdf/front/export.massive.php');
break;
}
}
Expand Down