Skip to content

Bug when save the rating in database #156

@ghost

Description

When user clicks for rating 5 for the example, the rating in rates table is not 5, but 4.* or float which is not correct, because user wants to set an reting 5 . If half star is enabled and 2 users want to select 3.5 rating, average rating can be something like (3.222 + 3.333)/2 or 3.2775 the helper will round it to 3, which is not correct. The correct average rating in this case must be 3.5, and their ratings must be 3.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions