Skip to content
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

✅ Fixed bug with season endpoint returning incorrect items when continuing flag specified #557

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

pushrbx
Copy link
Collaborator

@pushrbx pushrbx commented Oct 28, 2024

Fixes #555

The filter predicate for mongodb was incorrect, it included also those items when continuing filter flag was present which are from the same month as the month of the $from date calculated based on the season endpoint request.

This PR fixes that issue, also added a test to validate it.

@pushrbx pushrbx requested a review from a team as a code owner October 28, 2024 15:26
@pushrbx pushrbx merged commit 53508e8 into master Nov 8, 2024
1 check passed
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.24%. Comparing base (744bd69) to head (8c6398d).
Report is 17 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #557      +/-   ##
============================================
- Coverage     57.86%   57.24%   -0.62%     
- Complexity     1361     1391      +30     
============================================
  Files           339      340       +1     
  Lines          5273     5669     +396     
============================================
+ Hits           3051     3245     +194     
- Misses         2222     2424     +202     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

🐛 Season endpoint returns items which don't belong to season
2 participants