diff --git a/modules/articoli/ajax/select.php b/modules/articoli/ajax/select.php index 78d8c0d7d..e9f06dc43 100755 --- a/modules/articoli/ajax/select.php +++ b/modules/articoli/ajax/select.php @@ -170,6 +170,8 @@ switch ($resource) { $search_fields[] = 'mg_articoli.descrizione LIKE '.prepare('%'.$search.'%'); $search_fields[] = 'mg_articoli.codice LIKE '.prepare('%'.$search.'%'); $search_fields[] = 'mg_articoli.barcode LIKE '.prepare('%'.$search.'%'); + $search_fields[] = 'categoria.nome LIKE '.prepare('%'.$search.'%'); + $search_fields[] = 'sottocategoria.nome LIKE '.prepare('%'.$search.'%'); if ($usare_dettaglio_fornitore) { $search_fields[] = 'mg_fornitore_articolo.descrizione LIKE '.prepare('%'.$search.'%');