Commit 13aa2fad6004bc90afb7d6857e8f29d94c48a549

Authored by Eduardo Santos
Committed by Eduardo Santos
1 parent 3a24f9f7
Exists in master and in 1 other branch 3.1

Pequena correção na consulta de software

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 /**
... ...