openstamanager/update/2_5_7.sql

2 lines
329 B
MySQL
Raw Normal View History

2024-11-15 09:49:30 +01:00
-- 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');