mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-07 14:22:12 +00:00
DEV: Add correct data to method
This commit is contained in:
parent
2398ab4fe6
commit
472783d1c1
@ -170,7 +170,7 @@ module DiscourseRewind
|
||||
book_title =
|
||||
books.group_by { |book| book }.transform_values(&:count).max_by { |_, count| count }.first
|
||||
|
||||
{ title: book_title, isbn: popular_books[book_title][:isbn] }
|
||||
{ title: book_title, isbn: popular_books[book_title][:isbn], series: popular_books[book_title][:series] }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user