1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-09 14:14:10 +01:00
openstamanager/update/2_5_7.sql
2024-11-15 09:49:30 +01:00

2 lines
329 B
SQL

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