Multirating totals and counts do not update correctly

This topic contains 8 replies, has 3 voices, and was last updated by  Alex Rollin 2 weeks, 1 day ago.

  • Author
    Posts
  • #513085

    Andy
    Full Member
    Post count: 41

    I am finding that multirating totals and counts (which are used to calculate the averages) are not handled correctly for reviews which are sent for moderation, or when reviews change status, or when reviews are deleted.

    Submitting a review through the front end which is automatically approved is fine. The multirating counts are incremented and the ratings are added to the totals.

    If I submit a review which is automatically sent for moderation, the counts and totals are also updated. But they should not change at all in this scenario.

    If I change the status of a review in WP admin, then the multirating counts and totals do NOT change. e.g. a change from Approved to Pending or move a review to the Trash. Any change away from Approved should change the counts and totals accordingly, and vice versa for a change to Approved status.

    Even permanently deleting a Trashed review does not update the multirating totals and counts for the related post!

    Basically it seems like multirating counts and totals (and therefore averages) update when a review is submitted, even if it goes for moderation (which is wrong), and do not change under almost any other scenario.

    Submission of a new review seems to recalculate the overall multiratings, rather than just adjust them for the new review, but it still does not treat non-Approved reviews correctly – i.e. it includes them in the counts and totals.

    #513137

    Alex Rollin
    Moderator
    Post count: 22516

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #514320

    Andy
    Full Member
    Post count: 41

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #514357

    Alex Rollin
    Moderator
    Post count: 22516
    This reply has been marked as private.
    #514933

    Kiran
    Moderator
    Post count: 5942

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #515021

    Andy
    Full Member
    Post count: 41
    This reply has been marked as private.
    #515044

    Alex Rollin
    Moderator
    Post count: 22516
    This reply has been marked as private.
    #516161

    Andy
    Full Member
    Post count: 41

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #516229

    Alex Rollin
    Moderator
    Post count: 22516

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.