Skip to content

Fix empty sort dropdown on secondary issue list views - #589

Merged
bpepple merged 1 commit into
masterfrom
fix-issue-list-sort
Aug 7, 2026
Merged

Fix empty sort dropdown on secondary issue list views#589
bpepple merged 1 commit into
masterfrom
fix-issue-list-sort

Conversation

@bpepple

@bpepple bpepple commented Aug 7, 2026

Copy link
Copy Markdown
Member

Summary

  • The issue-sort dropdown (issue_sort.html) reads sort_options/current_sort from context, but only IssueList, WeekList, NextWeekList, and FutureList ever set them — every other view rendering issue_list.html left the dropdown empty and silently ignored the ?sort= param.
  • Wired the shared SORT_OPTIONS/apply_sort helpers (from issue_list_helpers.py) into the remaining affected views: SeriesIssueList, ArcIssueList, CreatorSeriesList, CreatorIssueList, CharacterSeriesList, CharacterIssueList, UniverseSeriesList, UniverseIssueList, and TeamIssueList.

Only IssueList, WeekList, NextWeekList, and FutureList populated sort_options/current_sort and applied the ?sort= param via apply_sort(). Every other view rendering issue_list.html (series, arc, creator, character, universe, team issue/series lists) left those unset, so their sort dropdowns rendered empty and sorting had no effect. Wire all of them up to the shared SORT_OPTIONS/apply_sort helpers.
@bpepple bpepple self-assigned this Aug 7, 2026
@bpepple bpepple added the bug Something isn't working label Aug 7, 2026
@bpepple
bpepple merged commit 27902db into master Aug 7, 2026
2 checks passed
@bpepple
bpepple deleted the fix-issue-list-sort branch August 7, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant