Skip to content

OBPIH-6042 Add filter by date range to expiration reports (fix after QA)#4497

Merged
awalkowiak merged 2 commits intofeature/upgrade-to-grails-3.3.10from
OBPIH-6042-2
Feb 8, 2024
Merged

OBPIH-6042 Add filter by date range to expiration reports (fix after QA)#4497
awalkowiak merged 2 commits intofeature/upgrade-to-grails-3.3.10from
OBPIH-6042-2

Conversation

@alannadolny
Copy link
Collaborator

No description provided.


if (command.startDate) {
ge("expirationDate", command.startDate)
gt("expirationDate", command.startDate + 1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alannadolny Does this require both changes? ge -> gt and adding + 1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, when I just changed ge -> gt I got the same results, It's probably due to hours comparison, but now it works fine.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alannadolny Then I think you have to still have ge if you add + 1, because you are missing records that are from the startDate + 1, but don't have hours added

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️

@awalkowiak awalkowiak merged commit def3092 into feature/upgrade-to-grails-3.3.10 Feb 8, 2024
@awalkowiak awalkowiak deleted the OBPIH-6042-2 branch February 8, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants