From 81489c1e4ec7fac3a419ffb2b28e7decb566f44f Mon Sep 17 00:00:00 2001 From: loviuz Date: Fri, 19 Mar 2021 18:19:51 +0100 Subject: [PATCH] Fix query modulo articoli per ripristino articoli eliminati --- update/2_4_23.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/2_4_23.sql b/update/2_4_23.sql index 1bc23d667..ad275d3cd 100644 --- a/update/2_4_23.sql +++ b/update/2_4_23.sql @@ -29,7 +29,7 @@ FROM `mg_articoli` ) ordini_fornitore ON ordini_fornitore.idarticolo = mg_articoli.id LEFT JOIN mg_categorie ON mg_articoli.id_categoria = mg_categorie.id LEFT JOIN mg_categorie AS sottocategorie ON mg_articoli.id_sottocategoria = sottocategorie.id -WHERE 1=1 AND (`mg_articoli`.`deleted_at`) IS NULL +WHERE 1=1 AND `mg_articoli`.`deleted_at` IS NULL HAVING 2=2 ORDER BY `mg_articoli`.`descrizione`' WHERE `zz_modules`.`name`='Articoli';