X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/58242917a50ec39071529953e77343fd3eb6dda0..efee50f8b43a22de0aedf05b9467080f2ca75b6a:/Repository/SessionRepository.php diff --git a/Repository/SessionRepository.php b/Repository/SessionRepository.php index e295bfd..9ffaf02 100644 --- a/Repository/SessionRepository.php +++ b/Repository/SessionRepository.php @@ -31,7 +31,7 @@ class SessionRepository extends \Doctrine\ORM\EntityRepository { * * @param $period The date period */ - public function findByDatePeriod($period) { + public function findAllByDatePeriod($period) { //Fetch sessions $ret = $this->getEntityManager() ->createQuery('SELECT s FROM RapsysAirBundle:Session s WHERE s.date BETWEEN :begin AND :end')