diff --git a/update/2_6.sql b/update/2_6.sql index 1a4bbd89b..541b552a2 100644 --- a/update/2_6.sql +++ b/update/2_6.sql @@ -83,3 +83,11 @@ INSERT INTO `zz_plugins_lang` (`id_lang`, `id_record`, `title`) VALUES (1, LAST_INSERT_ID(), 'Mandati SEPA'), (2, LAST_INSERT_ID(), 'Mandati SEPA'); + +-- Allineamento campi telefono e email in viste +UPDATE `zz_views` SET `name` = 'tel_Telefono' WHERE `zz_views`.`name` = 'Telefono'; +UPDATE `zz_views` SET `name` = 'tel_Cellulare' WHERE `zz_views`.`name` = 'Cellulare'; +UPDATE `zz_views` SET `name` = 'emailto_Email' WHERE `zz_views`.`name` = 'Email'; +UPDATE `zz_views_lang` SET `title` = 'tel_Telefono' WHERE `zz_views_lang`.`id_record` = (SELECT `id` FROM `zz_views` WHERE `name` = 'tel_Telefono'); +UPDATE `zz_views_lang` SET `title` = 'tel_Cellulare' WHERE `zz_views_lang`.`id_record` = (SELECT `id` FROM `zz_views` WHERE `name` = 'tel_Cellulare'); +UPDATE `zz_views_lang` SET `title` = 'emailto_Email' WHERE `zz_views_lang`.`id_record` = (SELECT `id` FROM `zz_views` WHERE `name` = 'emailto_Email'); \ No newline at end of file