Finish RossoGargano_ContrattiDiVendita_FixFiltroCliente
This commit is contained in:
@@ -93,7 +93,7 @@ class ContrattiDiVendita {
|
||||
|
||||
if (array_get($data, "q")) {
|
||||
$q = trim(strtolower($data["q"]));
|
||||
$query->where("gtb_anag.cod_anag+';'+gtb_anag.rag_soc+';'+gtb_anag.part_iva LIKE '%[Q]%'")
|
||||
$query->where("gtb_anag.cod_anag+';'+gtb_anag.rag_soc+';'+ISNULL(gtb_anag.part_iva, '') LIKE '%[Q]%'")
|
||||
->setVar("Q", str_replace("'", "''", $q));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user