Commit 13aa2fad6004bc90afb7d6857e8f29d94c48a549
Committed by
Eduardo Santos
1 parent
3a24f9f7
Exists in
master
and in
1 other branch
Pequena correção na consulta de software
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/Cacic/CommonBundle/Entity/ComputadorColetaRepository.php
| ... | ... | @@ -161,7 +161,8 @@ class ComputadorColetaRepository extends EntityRepository |
| 161 | 161 | ->innerJoin('rede.idLocal', 'local') |
| 162 | 162 | ->innerJoin('CacicCommonBundle:PropriedadeSoftware', 'prop', 'WITH', 'prop.classProperty = coleta.classProperty') |
| 163 | 163 | ->innerJoin('prop.software', 'soft') |
| 164 | - ->where('soft.nmSoftware = :software') | |
| 164 | + ->orWhere('property.nmPropertyName = :software') | |
| 165 | + ->orWhere('prop.displayName = :software') | |
| 165 | 166 | ->setParameter('software', $software); |
| 166 | 167 | |
| 167 | 168 | /** | ... | ... |