diff --git a/app/Controller/CandidatesController.php b/app/Controller/CandidatesController.php index 1c2e04e..b135c38 100644 --- a/app/Controller/CandidatesController.php +++ b/app/Controller/CandidatesController.php @@ -175,7 +175,6 @@ public function listByElection($id, $filter = 0, $sorting = 0) { endforeach; endif; - $conditions[] = array('Candidate.election_id = ' => $id); if ($filter != 0) : diff --git a/app/View/Candidates/view.ctp b/app/View/Candidates/view.ctp index 4c0e1a4..09530e5 100644 --- a/app/View/Candidates/view.ctp +++ b/app/View/Candidates/view.ctp @@ -6,13 +6,15 @@

- + - + + +