Bug #1607: Fix issue filtering the resources load window
The issue was introduced in commit 05132fd5a7.
Where it was defined an algorithm:
2.4) FSD is not null and FED is not null:
2.4.1) APED is null: Check if APSD is between FSD and FED
This was wrong, it should be:
2.4) FSD is not null and FED is not null:
2.4.1) APED is null: Check if APSD is lower or equals than FSD or APSD is
lower or equals than FED
FEA: ItEr77S04BugFixing
This commit is contained in:
parent
c807a50376
commit
2bf13fef80
1 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue