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

Cyberstorm API: improve sorting on team-related list views #898

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

anttimaki
Copy link
Collaborator

Cyberstorm API: add tests for sorting team-related list views

Refs TS-1856

Cyberstorm API: use StrictOrderingFilter on team-related list views

Based on non-blocking review comment, Mythic has apparently had some
issues with DRF's stock OrderingFilter, so use the home brewed
StrictOrderingFilter instead.

Refs TS-1856

@anttimaki
Copy link
Collaborator Author

anttimaki commented Oct 24, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (746252c) 92.27% compared to head (ba10602) 65.30%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #898       +/-   ##
===========================================
- Coverage   92.27%   65.30%   -26.97%     
===========================================
  Files         271      271               
  Lines        7820     7820               
  Branches      743      743               
===========================================
- Hits         7216     5107     -2109     
- Misses        502     2638     +2136     
+ Partials      102       75       -27     
Files Coverage Δ
django/thunderstore/api/cyberstorm/views/team.py 75.67% <100.00%> (-24.33%) ⬇️

... and 164 files with indirect coverage changes

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

Based on non-blocking review comment, Mythic has apparently had some
issues with DRF's stock OrderingFilter, so use the home brewed
StrictOrderingFilter instead.

Refs TS-1856
Copy link
Member

@MythicManiac MythicManiac left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@anttimaki
Copy link
Collaborator Author

I've no idea what codecov is complaining about.

@anttimaki anttimaki merged commit 7c9cfdc into master Oct 24, 2023
27 of 28 checks passed
@anttimaki anttimaki deleted the team-listviews-sorting branch October 24, 2023 11:29
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