mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 04:51:11 +00:00
Don't show duplicate reviews on book page
This commit is contained in:
parent
c72bd98957
commit
c07aa387fa
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ def book_page(request, book_identifier, tab='friends'):
|
|||
'shelf': shelf,
|
||||
'user_reviews': user_reviews,
|
||||
'user_rating': user_reviews.aggregate(Avg('rating')),
|
||||
'reviews': reviews,
|
||||
'reviews': reviews.distinct(),
|
||||
'rating': rating['rating__avg'],
|
||||
'tags': tags,
|
||||
'user_tags': user_tags,
|
||||
|
|
Loading…
Reference in a new issue