Use vote results manager to populate values in static display

Closes #3536695

Testing Steps

  1. Configure a vote type with 5 stars and add a fivestar field to an entity.
  2. Configure the field to be "Rated while viewing".
  3. Ensure the field is visible on both the entity form display and entity view display.
  4. Create an entity to use for our test.
  5. From the entity view display, submit a 5-star vote.
  6. As a new user or as a second vote for your current user, submit a 1-star vote.
  7. View the entity form display to view the average vote

Without MR: Result is a 1-star rating.

With MR: Result is a 3-star rating.

Merge request reports

Loading