Hallo,
vielen Dank erst einmal für die Antworten.
Nun habe ich auch den "Bug" entdeckt. Man kann zwar wie oben in meinem ersten Beitrag erstelltem Bild das Datum eintragen, dies wird in der SQL-Abfrage aber mit 0 eingetragen. Das funktioniert natürlich nicht...
Richtiges Datum in der SQL-Abfrage eintragen und zack geht es.
Vorher:
SELECT
obj_main.isys_obj__id AS '__id__',
obj_main.isys_obj__title AS 'LC__UNIVERSAL__TITLE###1',
j2.isys_obj_type__title AS 'LC__REPORT__FORM__OBJECT_TYPE###1'
FROM isys_obj AS obj_main
INNER JOIN isys_cmdb_status AS obj_main_status ON obj_main_status.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id
LEFT JOIN isys_obj_type AS j2 ON j2.isys_obj_type__id = obj_main.isys_obj__isys_obj_type__id
LEFT JOIN isys_cats_contract_list AS j4 ON j4.isys_cats_contract_list__isys_obj__id = obj_main.isys_obj__id
WHERE TRUE
AND ( (j2.isys_obj_type__id != '60' ) AND (j2.isys_obj_type__id != '63' ) ) AND ( (j2.isys_obj_type__id = '28' ) AND (j4.isys_cats_contract_list__end_date > 0 )
ORDER BY obj_main.isys_obj__title DESC
Nachher:
SELECT
obj_main.isys_obj__id AS '__id__',
obj_main.isys_obj__title AS 'LC__UNIVERSAL__TITLE###1',
j2.isys_obj_type__title AS 'LC__REPORT__FORM__OBJECT_TYPE###1'
FROM isys_obj AS obj_main
INNER JOIN isys_cmdb_status AS obj_main_status ON obj_main_status.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id
LEFT JOIN isys_obj_type AS j2 ON j2.isys_obj_type__id = obj_main.isys_obj__isys_obj_type__id
LEFT JOIN isys_cats_contract_list AS j4 ON j4.isys_cats_contract_list__isys_obj__id = obj_main.isys_obj__id
WHERE TRUE
AND ( (j2.isys_obj_type__id != '60' ) AND (j2.isys_obj_type__id != '63' ) ) AND ( (j2.isys_obj_type__id = '28' ) AND (j4.isys_cats_contract_list__end_date > '2020-01-01' ) )
ORDER BY obj_main.isys_obj__title DESC