From 219b597071a294be85bc5d25b7ebc6965d146475 Mon Sep 17 00:00:00 2001
From: Jochen Roth <jochen.roth@b13.com>
Date: Mon, 27 Mar 2023 11:04:22 +0200
Subject: [PATCH] [BUGFIX] Add correct id to "Not assigned to any task group"

The group of "Not assigned to any task group" can not be
collapsed anymore.

This has been fixed by adding the correct id, so the
element to collapse is found and collapsed again.

Resolves: #100308
Releases: main
Change-Id: I08c705cea67d03c02667cc6753752b385339733f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78264
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 typo3/sysext/scheduler/Resources/Private/Partials/TaskList.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/scheduler/Resources/Private/Partials/TaskList.html b/typo3/sysext/scheduler/Resources/Private/Partials/TaskList.html
index af1bba309d8b..58ae07a853c0 100644
--- a/typo3/sysext/scheduler/Resources/Private/Partials/TaskList.html
+++ b/typo3/sysext/scheduler/Resources/Private/Partials/TaskList.html
@@ -176,7 +176,7 @@
                 <f:render partial="MultiRecordSelectionActions" />
             </div>
             <form name="tx_scheduler_form_{f:if(condition: '{taskGroup.groupUid} == 0', then: '0', else: taskGroup.groupUid)}" id="tx_scheduler_form_{f:if(condition: '{taskGroup.groupUid} == 0', then: '0', else: taskGroup.groupUid)}" method="post">
-                <div class="panel-collapse collapse {f:if(condition: '!{taskGroup.taskGroupCollapsed}', then: 'show')}" id="scheduler-task-group-{taskGroup.groupUid}" data-table="task-group-{taskGroup.groupUid}">
+                <div class="panel-collapse collapse {f:if(condition: '!{taskGroup.taskGroupCollapsed}', then: 'show')}" id="scheduler-task-group-{taskGroupId}" data-table="task-group-{taskGroup.groupUid}">
                     <div class="table-fit">
                         <table class="table table-striped table-hover" data-scheduler-table>
                             <thead>
-- 
GitLab