From 13aa2fad6004bc90afb7d6857e8f29d94c48a549 Mon Sep 17 00:00:00 2001 From: Eduardo Santos Date: Tue, 15 Apr 2014 17:49:30 -0300 Subject: [PATCH] Pequena correção na consulta de software --- src/Cacic/CommonBundle/Entity/ComputadorColetaRepository.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Cacic/CommonBundle/Entity/ComputadorColetaRepository.php b/src/Cacic/CommonBundle/Entity/ComputadorColetaRepository.php index 6a6ab81..6bf5660 100644 --- a/src/Cacic/CommonBundle/Entity/ComputadorColetaRepository.php +++ b/src/Cacic/CommonBundle/Entity/ComputadorColetaRepository.php @@ -161,7 +161,8 @@ class ComputadorColetaRepository extends EntityRepository ->innerJoin('rede.idLocal', 'local') ->innerJoin('CacicCommonBundle:PropriedadeSoftware', 'prop', 'WITH', 'prop.classProperty = coleta.classProperty') ->innerJoin('prop.software', 'soft') - ->where('soft.nmSoftware = :software') + ->orWhere('property.nmPropertyName = :software') + ->orWhere('prop.displayName = :software') ->setParameter('software', $software); /** -- libgit2 0.21.2