Merge branch 'master' into filtering-improvements

This commit is contained in:
Lorenzo Tilve Álvaro 2013-02-01 13:14:53 +01:00
commit 58ad890227

View file

@ -150,8 +150,8 @@ public class CalendarAvailability extends IntegrationEntity {
}
if (endDate == null) {
return startDate.compareTo(filterStartDate) >= 0
&& startDate.compareTo(filterEndDate) <= 0;
return startDate.compareTo(filterStartDate) <= 0
|| startDate.compareTo(filterEndDate) <= 0;
}
Interval filterPeriod = new Interval(