We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0af7b commit 0ec8389Copy full SHA for 0ec8389
1 file changed
modules/articoli/ajax/select.php
@@ -180,6 +180,7 @@
180
if (!empty($search)) {
181
$search_fields[] = '`mg_articoli_lang`.`title` LIKE '.prepare('%'.$search.'%');
182
$search_fields[] = '`mg_articoli`.`codice` LIKE '.prepare('%'.$search.'%');
183
+ $search_fields[] = 'CONCAT(`mg_articoli`.`codice`, " - ", `mg_articoli_lang`.`title`) LIKE '.prepare('%'.$search.'%');
184
$search_fields[] = '`categoria_lang`.`title` LIKE '.prepare('%'.$search.'%');
185
$search_fields[] = '`mg_articoli_barcode`.`barcode` LIKE '.prepare('%'.$search.'%');
186
$search_fields[] = '`sottocategoria_lang`.`title` LIKE '.prepare('%'.$search.'%');
0 commit comments