Commit d10b0a5c1b6166a4d5f3070b4653daecb583d662

Authored by Bruno Menezes
1 parent 35c12e67
Exists in master and in 1 other branch 3.1

alterando template

src/Cacic/CommonBundle/Entity/SoftwareRepository.php
... ... @@ -55,7 +55,7 @@ class SoftwareRepository extends EntityRepository
55 55 *
56 56 * Método de listagem dos Softwares cadastrados que não foram classificados (sem Tipo de Software)
57 57 */
58   - public function listarNaoClassificados( \Knp\Component\Pager\Paginator $paginator, $page = 1)
  58 + public function listarNaoClassificados()
59 59 {
60 60 $qb = $this->createQueryBuilder('sw')
61 61 ->select('sw.nmSoftware','sw.idSoftware')
... ... @@ -65,12 +65,7 @@ class SoftwareRepository extends EntityRepository
65 65 ->groupBy('sw.nmSoftware,sw.idSoftware')
66 66 ->orderBy('sw.nmSoftware');
67 67  
68   - return $paginator->paginate(
69   - $qb->getQuery()->execute(),
70   - $page,
71   - 10
72   - );
73   -
  68 + return $qb->getQuery()->execute();
74 69 }
75 70  
76 71 /**
... ...