From b6c4b5178e1cd2c16bc46391ad92f92e9287f2c3 Mon Sep 17 00:00:00 2001 From: Matteo Date: Wed, 17 Mar 2021 17:51:37 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20visualizzazione=20attivit=C3=A0=20in=20da?= =?UTF-8?q?shboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update/2_4_23.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update/2_4_23.sql b/update/2_4_23.sql index 335eb5c64..0ab522e70 100644 --- a/update/2_4_23.sql +++ b/update/2_4_23.sql @@ -51,3 +51,6 @@ UPDATE `zz_widgets` SET `query` = 'SELECT\n CONCAT_WS(\' \', REPLACE(REPLACE(REP INSERT INTO `zz_api_resources` (`id`, `version`, `type`, `resource`, `class`, `enabled`) VALUES (NULL, 'v1', 'create', 'articolo', 'Modules\\Articoli\\API\\v1\\Articoli', '1'), (NULL, 'v1', 'update', 'articolo', 'Modules\\Articoli\\API\\v1\\Articoli', '1'); + +-- Fix visualizzazione attività in dashboard +UPDATE `zz_segments` SET `clause` = '(orario_inizio BETWEEN \'|period_start|\' AND \'|period_end|\' OR orario_fine BETWEEN \'|period_start|\' AND \'|period_end|\')' WHERE `zz_segments`.`name` = 'Attività'; \ No newline at end of file