Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter jorisvanriel

    (@jorisvanriel)

    Hi jhanbackjr,

    I looked into it. Seems that the plugin pulls average rating from WORK (which is based on all editions) and also fills stars based on that, while ratings-count is based on a single ISBN. There are 2 ratings_count in API, one in Work en one in Book. On line 302 (stars&ratings) in goodreviews functions.php i changed $Result->book->ratings_count into $Result->book->work->ratings_count. Now it gives the ratings_count (WORK) from all editions.

    Thought I’d share the info for next revisions.

    Joris

Viewing 1 replies (of 1 total)