Remove duplicate ranking_max filter in get_teams #21

Closed
opened 2026-02-20 06:53:01 +00:00 by cal · 1 comment
Owner

`app/routers_v2/teams.py:136-143`. `ranking_max` filter applied twice. Second is a no-op — likely copy-paste error where `ranking_min` was intended.

Priority: low

\`app/routers_v2/teams.py:136-143\`. \`ranking_max\` filter applied twice. Second is a no-op — likely copy-paste error where \`ranking_min\` was intended. **Priority**: low
cal added the
bug
label 2026-02-20 06:53:01 +00:00
cal added the
ai-working
label 2026-03-03 22:00:59 +00:00
cal removed the
ai-working
label 2026-03-03 22:02:11 +00:00
Author
Owner

Fixed in PR #42: #42

Removed the duplicate if ranking_max is not None block (lines 141-143) that was a copy-paste no-op of the filter already applied 3 lines earlier.

Fixed in PR #42: https://git.manticorum.com/cal/paper-dynasty-database/pulls/42 Removed the duplicate `if ranking_max is not None` block (lines 141-143) that was a copy-paste no-op of the filter already applied 3 lines earlier.
cal added the
ai-pr-opened
label 2026-03-03 22:02:16 +00:00
cal closed this issue 2026-03-05 03:17:51 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/paper-dynasty-database#21
No description provided.