Skip to content

Commit

Permalink
Fixed wrong pagination results returned from the GET organizations DAO
Browse files Browse the repository at this point in the history
  • Loading branch information
HasiniSama committed Jul 16, 2024
1 parent ca04c09 commit 2f024e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ private void setFilterAttributes(NamedPreparedStatement namedPreparedStatement,
}
for (Map.Entry<String, String> entry : filterAttributeValue.entrySet()) {
if (timestampTypeAttributes.contains(entry.getKey())) {
namedPreparedStatement.setTimeStamp(entry.getKey(), Timestamp.valueOf(entry.getValue()), CALENDAR);
namedPreparedStatement.setTimeStamp(entry.getKey(), Timestamp.valueOf(entry.getValue()), null);
} else {
namedPreparedStatement.setString(entry.getKey(), entry.getValue());
}
Expand Down

0 comments on commit 2f024e5

Please sign in to comment.