Skip to content

Commit b650742

Browse files
committed
fic: Correzione filtro di ricerca preventivi
1 parent 4d28549 commit b650742

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

modules/preventivi/ajax/select.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@
6161
}
6262

6363
if (!empty($search)) {
64-
$search_fields[] = '`nome` LIKE '.prepare('%'.$search.'%');
64+
$search_fields[] = '`co_preventivi`.`nome` LIKE '.prepare('%'.$search.'%');
65+
$search_fields[] = '`co_preventivi`.`numero` LIKE '.prepare('%'.$search.'%');
66+
$search_fields[] = '`co_preventivi`.`data_bozza` LIKE '.prepare('%'.$search.'%');
67+
$search_fields[] = '`co_statipreventivi_lang`.`title` LIKE '.prepare('%'.$search.'%');
6568
}
6669

6770
$custom['link'] = 'module:Preventivi';

0 commit comments

Comments
 (0)