Applying the case type filter in the case summary report CRM_Report_Form_Case_Summary is resulting in two case types being reported where only one is selected in the case type filter.
Looking at the developer tab of the report shows that is is looking for anything that contains a case_type_id of 9 as follows in the where clause:-
WHERE case_civireport.case_type_id REGEXP '[[:cntrl:]]*9[[:cntrl:]]*'
We have case types in our Civi that have case_type_id's of both 9 and 19, therefore both are being selected when only case type 9 is in the filter.
This doesn't happen with the case detail report CRM_Report_Form_Case_Detail that uses a different select statement as follows:-
WHERE ( case_civireport.case_type_id IN (9) )
I'm not sure if this is just an inconsistency that needs to be fixed, or if it's there for a reason?
Help appreciated.