diff --git a/update/2_4_43.sql b/update/2_4_43.sql index bbf9c2645..732d17106 100644 --- a/update/2_4_43.sql +++ b/update/2_4_43.sql @@ -28,4 +28,7 @@ INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`, `search`, `slow`, -- Set NULL campi vuoti search_inside e order_by UPDATE `zz_views` SET `search_inside` = NULL WHERE `search_inside` = ''; -UPDATE `zz_views` SET `order_by` = NULL WHERE `order_by` = ''; \ No newline at end of file +UPDATE `zz_views` SET `order_by` = NULL WHERE `order_by` = ''; + +-- Fix per anagrafiche senza ragione sociale +UPDATE `an_anagrafiche` SET `ragione_sociale` = CONCAT(cognome, " ", nome) WHERE `an_anagrafiche`.`ragione_sociale` = ""; \ No newline at end of file