Skip to content

Add average series rating to series detail view - #610

Merged
bpepple merged 1 commit into
masterfrom
series-average-rating
Aug 21, 2026
Merged

Add average series rating to series detail view#610
bpepple merged 1 commit into
masterfrom
series-average-rating

Conversation

@bpepple

@bpepple bpepple commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary

  • Annotate SeriesDetail's queryset with average_rating/rating_count, computed across all IssueRatings for the series' issues, via a subquery following the existing issue_count pattern.
  • Surface the aggregate in the series detail page header using the existing partials/rating_summary.html (stars + count), matching how issue detail already shows its own average rating.
  • No new "rate this series" widget — ratings remain per-issue; this only displays the read-only aggregate.

Aggregates IssueRating across all issues in a series via a subquery annotation, following the existing issue_count pattern, and surfaces it in the header using the shared rating_summary partial.
@bpepple bpepple self-assigned this Aug 21, 2026
@bpepple bpepple added the enhancement New feature or request label Aug 21, 2026
@bpepple
bpepple merged commit ddb896c into master Aug 21, 2026
2 checks passed
@bpepple
bpepple deleted the series-average-rating branch August 21, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant