Rating and Percentage Formatter are not working

Created on 25 May 2023, about 1 year ago
Updated 31 May 2023, about 1 year ago

Rating and Percentage Formatter output results for one vote only, even if there are more available.

When I try to use percentage or rating output of fivestar rating in Views it show results for only one casted vote and ignore others.
For example, for node with 3 votes and average rating 9.7 it shows percentage rating 90%.
I did check the output of PercentageFormatter.php and it outputs data with votes count=1 (should be 3) and value as shown in Views output.

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia a_sh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @a_sh
  • Status changed to Closed: duplicate about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States TR Cascadia

    πŸ“Œ Rating and Percentage Formatter Needs review

  • πŸ‡·πŸ‡ΊRussia a_sh

    It seems to be not the same issue.

    I did check the content of patch in issue #2918679 and it is included into corresponding formatters files in my installation.

    However, output is totally incorrect for both Rating and Percentage Formatter.

  • Status changed to Active about 1 year ago
  • Status changed to Closed: duplicate about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States TR Cascadia

    The rating and percentage formatters are the subject of πŸ“Œ Rating and Percentage Formatter Needs review
    If they do not work properly, then that is the place to discuss it.
    That issue is still open because no one has contributed test cases or tested/reviewed the patch to ensure it works.
    You could help ...

Production build 0.69.0 2024