From f6941dd2c87ac236e9865d10ec4b41a2d3f7d4b7 Mon Sep 17 00:00:00 2001 From: valentina Date: Fri, 15 Nov 2024 09:49:30 +0100 Subject: [PATCH] fix: query di aggiornamento --- update/{2_6.php => 2_5_7.php} | 0 update/2_5_7.sql | 2 ++ update/2_6.sql | 3 --- 3 files changed, 2 insertions(+), 3 deletions(-) rename update/{2_6.php => 2_5_7.php} (100%) create mode 100644 update/2_5_7.sql diff --git a/update/2_6.php b/update/2_5_7.php similarity index 100% rename from update/2_6.php rename to update/2_5_7.php diff --git a/update/2_5_7.sql b/update/2_5_7.sql new file mode 100644 index 000000000..492f5314b --- /dev/null +++ b/update/2_5_7.sql @@ -0,0 +1,2 @@ +-- Fix filtro segmento Non completate in Attività +UPDATE `zz_segments` SET `clause` = 'in_interventi.idstatointervento NOT IN(SELECT in_statiintervento.id FROM in_statiintervento WHERE is_completato=1)' WHERE `zz_segments`.`name` = 'Non completate' AND `id_module` = (SELECT `id` FROM `zz_modules` WHERE `name` = 'Interventi'); \ No newline at end of file diff --git a/update/2_6.sql b/update/2_6.sql index 72765dbd0..058103b4e 100644 --- a/update/2_6.sql +++ b/update/2_6.sql @@ -95,9 +95,6 @@ UPDATE `zz_views_lang` SET `title` = 'emailto_Email' WHERE `zz_views_lang`.`id_r -- Aggiunta campo modello ALTER TABLE `mg_articoli` ADD `modello` VARCHAR(255) NULL AFTER `id_marchio`; --- Fix filtro segmento Non completate in Attività -UPDATE `zz_segments` SET `clause` = 'in_interventi.idstatointervento NOT IN(SELECT in_statiintervento.id FROM in_statiintervento WHERE is_completato=1)' WHERE `zz_segments`.`name` = 'Non completate' AND `id_module` = (SELECT `id` FROM `zz_modules` WHERE `name` = 'Interventi'); - INSERT INTO `zz_api_resources` (`id`, `version`, `type`, `resource`, `class`, `enabled`) VALUES (NULL, 'v1', 'retrieve', 'pagamenti', 'Modules\\Pagamenti\\API\\v1\\Pagamenti', 1);