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);