From 37cb00a7a68561e2734eec1f1e8006e6ba59cac6 Mon Sep 17 00:00:00 2001 From: MatteoPistorello Date: Wed, 7 Sep 2022 17:43:21 +0200 Subject: [PATCH] Fix minore select articoli --- modules/articoli/ajax/select.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/articoli/ajax/select.php b/modules/articoli/ajax/select.php index 0e6c3b273..bd4e24b86 100755 --- a/modules/articoli/ajax/select.php +++ b/modules/articoli/ajax/select.php @@ -37,8 +37,8 @@ switch ($resource) { $idagente = $superselect['idagente']; $query = "SELECT + DISTINCT mg_articoli.id, IF(`categoria`.`nome` IS NOT NULL, CONCAT(`categoria`.`nome`, IF(`sottocategoria`.`nome` IS NOT NULL, CONCAT(' (', `sottocategoria`.`nome`, ')'), '-')), '".tr('Nessuna categoria')."') AS optgroup, - mg_articoli.id, mg_articoli.barcode, mg_articoli.".($prezzi_ivati ? 'prezzo_vendita_ivato' : 'prezzo_vendita').' AS prezzo_vendita,