From a9f1c8ae5a6a40e9a60e43c0ee8f0ca66dbcf53c Mon Sep 17 00:00:00 2001 From: tremo Date: Fri, 3 Jul 2026 09:52:28 +0200 Subject: [PATCH 1/2] Fix massive action modal not showing for more than 10 associated groups --- CHANGELOG.md | 6 ++++++ inc/group_group.class.php | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac8792ad..4184cb88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 modal not showing when a group has more than 10 associated groups + ## [2.10.4] - 2026-06-24 - Fix escape chars diff --git a/inc/group_group.class.php b/inc/group_group.class.php index 3ee06663..0228c363 100644 --- a/inc/group_group.class.php +++ b/inc/group_group.class.php @@ -108,10 +108,6 @@ public function manageGroup($groups_id) 'container' => 'mass' . self::class . $rand, 'itemtype' => 'Group', ]; - - if ($nb > 10) { - $massiveactionparams['ontop'] = false; - } } } From 23ac418c54e2a2af1a89057f3d2d6bd4a7b72374 Mon Sep 17 00:00:00 2001 From: tremo Date: Fri, 3 Jul 2026 10:38:33 +0200 Subject: [PATCH 2/2] remove useless if block --- inc/ticket.class.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/inc/ticket.class.php b/inc/ticket.class.php index 28087e1d..07670c8e 100644 --- a/inc/ticket.class.php +++ b/inc/ticket.class.php @@ -728,15 +728,6 @@ public static function removeAssignUsers($item, $keep_users_id = false, $type = return; } - if ( - $_SESSION['glpi_plugins']['escalade']['config']['use_assign_user_group'] != 0 - && $_SESSION['glpi_plugins']['escalade']['config']['use_assign_user_group_creation'] != 0 - && isset($_SESSION['plugin_escalade']['ticket_creation']) - && $_SESSION['plugin_escalade']['ticket_creation'] - ) { - return; - } - if ($type == CommonITILActor::ASSIGN && !$_SESSION['glpi_plugins']['escalade']['config']['remove_tech']) { return; }