diff --git a/Report/ReportObjects/LwlPrueflisteRO.cs b/Report/ReportObjects/LwlPrueflisteRO.cs index c4553635c..5bf4d25c1 100644 --- a/Report/ReportObjects/LwlPrueflisteRO.cs +++ b/Report/ReportObjects/LwlPrueflisteRO.cs @@ -65,7 +65,7 @@ JOIN customer c on c.Oid = sc.CustomerOid JOIN person p on p.Oid = c.PersonOid JOIN costbearer cb on cb.oid = c2s.costbeareroid JOIN organisation o on o.costbeareroid = cb.oid -where (o.Name = '{2}') +where (o.Name like '{2}') and sr.startdate >= '{0:yyyy-MM-dd}' and sr.StartDate < '{1:yyyy-MM-dd}' {3} order by p.lastname, p.Firstname, sr.startdate