as title the raiting formatter doesn't show the average but the last vote given (i made the test with tow different users).

when i change the format of the field putting the satars it seem workes but i see only the stars and not average votes.
my settings display are:
Style: Di base
Stars display: average, Text display: average

please can you help me to find if i miss somthing or it is a known bug?

more info:
drupal vers. 8.9
votingapi vers. 8.x-3.0-beta2

Comments

ossamaselim created an issue. See original summary.

ossamaselim’s picture

Issue summary: View changes
dunot’s picture

Votingapi doesn't allow to rate more then one time from one IP address

sashken2’s picture

I have same issue too.

I change line:
$ip_address = \Drupal::request()->getClientIp();
to line:
$ip_address = \Drupal::currentUser();

in file:
/web/modules/contrib/fivestar/src/Plugin/Field/FieldType/FivestarItem.php

And all works good.