From d8656ddd83d54390fe96683002f490308e73da4f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 10 Feb 2023 18:20:57 +0100 Subject: [PATCH] many small fixes --- Controller/BackendController.php | 5 ++--- Theme/Backend/Components/AccountGroupSelector/base.tpl.php | 2 +- Theme/Backend/profile-single.tpl.php | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index ec0b33e..920451b 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -142,9 +142,8 @@ final class BackendController extends Controller $mapperQuery = ProfileMapper::get() ->with('account') - ->with('image') - ->with('location') - ->with('contactElements'); + ->with('account/locations') + ->with('image'); /** @var \Modules\Profile\Models\Profile $profile */ $profile = $request->getData('for') !== null diff --git a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php index 773776d..b2efb5e 100755 --- a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php +++ b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php @@ -46,7 +46,7 @@