FINERACT-1681: Fix filtering
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
4034f4ae19
commit
f78a596878
+1
-1
@@ -307,7 +307,7 @@ public class JournalEntryReadPlatformServiceImpl implements JournalEntryReadPlat
|
||||
}
|
||||
|
||||
if (submittedOnDateFrom != null || submittedOnDateTo != null) {
|
||||
if (submittedOnDateFrom != null && toDate != null) {
|
||||
if (submittedOnDateFrom != null && submittedOnDateTo != null) {
|
||||
sqlBuilder.append(whereClose).append(" journalEntry.submitted_on_date between ? and ? ");
|
||||
whereClose = " and ";
|
||||
objectArray[arrayPos] = submittedOnDateFrom;
|
||||
|
||||
Reference in New Issue
Block a user