@@ -1,5 +1,4 @@
-CREATE OR REPLACE VIEW view_public_events
-AS
+CREATE OR REPLACE VIEW view_public_events AS
SELECT
b.uuid,
b.organization_id AS organizationId,
@@ -46,7 +45,8 @@ AS
AND b.datetimeEnd >= NOW()
AND b.visibility = 'PUBLIC_VISIBILITY'
AND b.isCanceled = 0
-UNION
+ AND b.gender_id <> 7
+ UNION
aw.uuid,
null AS organizationId,