Multirating totals and counts do not update correctly

This topic contains 21 replies, has 4 voices, and was last updated by  Andy 6 months, 3 weeks ago.

  • Author
    Posts
  • #513085

    Andy
    Full Member
    Post count: 46

    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: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #514320

    Andy
    Full Member
    Post count: 46

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #514357

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

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #515021

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

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

    Andy
    Full Member
    Post count: 46

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #516229

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #521153

    gaz36f
    Full Member
    Post count: 54

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #521163

    Andy
    Full Member
    Post count: 46

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #521276

    gaz36f
    Full Member
    Post count: 54

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #521300

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #521301

    gaz36f
    Full Member
    Post count: 54

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #521302

    gaz36f
    Full Member
    Post count: 54
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 22 total)

The topic ‘Multirating totals and counts do not update correctly’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.