From 3e1dc84308987ec42e44d56832c3fa2b01ebac47 Mon Sep 17 00:00:00 2001 From: Robbe Serry Date: Sun, 15 Oct 2023 16:22:39 +0000 Subject: [PATCH] request by type admin --- .../BrBundle/Controller/Admin/RequestController.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module/BrBundle/Controller/Admin/RequestController.php b/module/BrBundle/Controller/Admin/RequestController.php index 75e6b89d7d..2c38da2451 100644 --- a/module/BrBundle/Controller/Admin/RequestController.php +++ b/module/BrBundle/Controller/Admin/RequestController.php @@ -15,16 +15,16 @@ class RequestController extends \CommonBundle\Component\Controller\ActionControl public function manageAction() { $vacancyRequests = $this->getEntityManager() - ->getRepository('BrBundle\Entity\Company\Request\Vacancy') - ->findNewRequests(); + ->getRepository('BrBundle\Entity\Company\Request') + ->findNewRequests('vacancy'); $internshipRequests = $this->getEntityManager() - ->getRepository('BrBundle\Entity\Company\Request\Internship') - ->findNewRequests(); + ->getRepository('BrBundle\Entity\Company\Request') + ->findNewRequests('internship'); $studentJobRequests = $this->getEntityManager() - ->getRepository('BrBundle\Entity\Company\Request\StudentJob') - ->findNewRequests(); + ->getRepository('BrBundle\Entity\Company\Request') + ->findNewRequests('student job'); return new ViewModel( array(