Skip to content

new filter for RB #411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 20, 2021
Merged

new filter for RB #411

merged 2 commits into from
Jul 20, 2021

Conversation

eisbilir
Copy link
Member

No description provided.

Copy link
Contributor

@maxceem maxceem left a comment

Choose a reason for hiding this comment

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

thanks, @eisbilir filtering works great.

There is just one typo in the error message. If I only filter by workPeriods.isLastWeek=true I get error "Cannot set \"isFirstWeek\" without \"startDate\"", though it suppose to be isLastWeek and endDate in the error message.

Also, there are a few suggestions on how to rephrase validation messages below.

@eisbilir eisbilir requested a review from maxceem July 20, 2021 15:42
Copy link
Member Author

@eisbilir eisbilir left a comment

Choose a reason for hiding this comment

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

  1. workPeriods.isFirstWeek - should only return RB if the week which matches workPeriods.startDate is the first one in the RB
  2. workPeriods.isLastWeek - should only return RB if the week which matches workPeriods.startDate is the last one in the RB

according to there, we match with startDate for both workPeriods.isFirstWeek and workPeriods.isLastWeek

Copy link
Contributor

@maxceem maxceem left a comment

Choose a reason for hiding this comment

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

Thanks, @eisbilir all is perfect now.

@maxceem maxceem merged commit 4fc818b into topcoder-platform:dev Jul 20, 2021
@eisbilir eisbilir deleted the new-rb-filter branch July 31, 2021 21:12
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