From 9dd6d82baaf95c90b7fdbe13304f58b343d3c3b4 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 8 Feb 2017 19:40:22 +0100 Subject: [PATCH] Fix uri parameter --- Theme/Backend/department-list.tpl.php | 2 +- Theme/Backend/position-list.tpl.php | 2 +- Theme/Backend/unit-list.tpl.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index e11bfdd..b748fd0 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> getData('list:elements') as $key => $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/department/profile?{?}id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/department/profile?{?}&id=' . $value->getId()); ?> getId(); ?> getName(); ?> diff --git a/Theme/Backend/position-list.tpl.php b/Theme/Backend/position-list.tpl.php index a06e684..4064107 100644 --- a/Theme/Backend/position-list.tpl.php +++ b/Theme/Backend/position-list.tpl.php @@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/position/profile?{?}id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/position/profile?{?}&id=' . $value->getId()); ?> getId(); ?> getName(); ?> diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php index aa0765e..4b6d4a0 100644 --- a/Theme/Backend/unit-list.tpl.php +++ b/Theme/Backend/unit-list.tpl.php @@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> getData('list:elements') as $key => $value) : - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/unit/profile?{?}id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/unit/profile?{?}&id=' . $value->getId()); ?> getId(); ?> getName(); ?>