From cbc8affd3ff4a03efb03c3554be3fd2bb6a45b0d Mon Sep 17 00:00:00 2001 From: Marcel Folaron Date: Mon, 18 Nov 2024 13:45:16 -0500 Subject: [PATCH] Ensure current project is selected for new sprints --- .idea/php.xml | 63 +++++++++++++++++++ .../Sprints/Templates/sprintdialog.tpl.php | 20 +++--- 2 files changed, 73 insertions(+), 10 deletions(-) diff --git a/.idea/php.xml b/.idea/php.xml index 2a1af823d..4dfa85b9d 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -240,6 +240,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/Domain/Sprints/Templates/sprintdialog.tpl.php b/app/Domain/Sprints/Templates/sprintdialog.tpl.php index fd9a96dff..3aaf76c67 100644 --- a/app/Domain/Sprints/Templates/sprintdialog.tpl.php +++ b/app/Domain/Sprints/Templates/sprintdialog.tpl.php @@ -20,19 +20,19 @@
+ projectId == $projectId || $currentProject == $projectId)) || + (!isset($currentSprint) && $currentProject == $projectId); + } + + $currentProject = session('currentProject'); + ?>