Commit d2b8565238c7956dbdb22523e2c39c2c5bae30ef
Exists in
master
and in
1 other branch
Merge remote-tracking branch 'origin/master'
Showing
2 changed files
with
6 additions
and
0 deletions
Show diff stats
src/Cacic/CommonBundle/Entity/SoftwareRepository.php
| ... | ... | @@ -215,6 +215,7 @@ class SoftwareRepository extends EntityRepository |
| 215 | 215 | // Monta a Consulta básica... |
| 216 | 216 | $qb = $this->createQueryBuilder('sw'); |
| 217 | 217 | $qb->select('sw', 'tpsw', 'se') |
| 218 | + ->innerJoin('CacicCommonBundle:PropriedadeSoftware', 'prop', 'WITH', 'sw.idSoftware = prop.software') | |
| 218 | 219 | ->leftJoin('sw.idTipoSoftware', 'tpsw') |
| 219 | 220 | ->leftJoin('sw.estacoes', 'se') |
| 220 | 221 | ->groupBy('sw', 'tpsw.idTipoSoftware', 'tpsw.teDescricaoTipoSoftware', 'se') | ... | ... |
src/Cacic/RelatorioBundle/Resources/views/Software/rel_naovinculados.html.twig