Skip to content

Restrict feedback to within the review period#2770

Merged
mkimberlin merged 3 commits intodevelopfrom
bugfix-2769/exclude-feedback-outside-review-period
Nov 14, 2024
Merged

Restrict feedback to within the review period#2770
mkimberlin merged 3 commits intodevelopfrom
bugfix-2769/exclude-feedback-outside-review-period

Conversation

@mkimberlin
Copy link
Member

No description provided.

use = !template.getIsReview();
use = !template.getIsReview() && request.getStatus().equalsIgnoreCase("submitted") &&
request.getSendDate() != null && request.getSendDate().isAfter(reviewPeriod.getPeriodStartDate().toLocalDate()) &&
request.getSubmitDate() != null && request.getSubmitDate().isBefore(reviewPeriod.getCloseDate().toLocalDate());
Copy link
Collaborator

Choose a reason for hiding this comment

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

What happens if someone misses the close date for their feedback?

Copy link
Member Author

Choose a reason for hiding this comment

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

It won't be included in the report...but fair point. I will pull that requirement.

@mkimberlin mkimberlin merged commit 4c0cc45 into develop Nov 14, 2024
@mkimberlin mkimberlin linked an issue Nov 15, 2024 that may be closed by this pull request
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.

There's too much info in merit reports...

2 participants