From 05daa5470a7197f4f0ee5c99ad27a21226dd8552 Mon Sep 17 00:00:00 2001 From: iglocska Date: Thu, 27 Jan 2022 21:10:00 +0100 Subject: [PATCH] fix: [sharing group form] default to own org as owner - reconsider if this should be a configurable setting at all --- templates/SharingGroups/add.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/SharingGroups/add.php b/templates/SharingGroups/add.php index 5b3e413..73eae9d 100644 --- a/templates/SharingGroups/add.php +++ b/templates/SharingGroups/add.php @@ -11,7 +11,8 @@ 'field' => 'organisation_id', 'type' => 'dropdown', 'label' => __('Owner organisation'), - 'options' => $dropdownData['organisation'] + 'options' => $dropdownData['organisation'], + 'default' => $loggedUser['organisation_id'] ], array( 'field' => 'releasability',