Add survey duplication actions

This commit is contained in:
Jürgen Mummert
2026-06-08 14:06:32 +02:00
parent 97a302a985
commit d44f3be571
11 changed files with 266 additions and 11 deletions
+2 -1
View File
@@ -94,8 +94,9 @@ final class SurveyRepository
'category' => serialize($this->normalizeCategoryIds($data['category'] ?? [])),
'description' => (string) ($data['description'] ?? ''),
'published' => '',
'isActive' => '',
'isActive' => '1',
'isLocked' => '',
'isTemplate' => !empty($data['isTemplate']) ? '1' : '',
'createdBy' => $memberId,
'updatedBy' => $memberId,
'createdAt' => $now,