An out-standing issue in the Fivestar queue is for displaying x number of stars when using the views integration. The proposed patch: http://drupal.org/node/154544, does a query for every row of data. While this would be very accurate, it seems wasteful. I'd like to make the 'option' field available in the same way CCK does for its views integration. It just creates a text field which can be used in any way desired by modules providing fields.

We'd use this option field to enter the number of stars to be displayed in the view. Otherwise we could default to 5 or use the proposed patch as a backup, so entering the number '5' would give you a gain in efficiency.

CommentFileSizeAuthor
votingapi_views_option.patch1.66 KBquicksketch

Comments

eaton’s picture

Status: Needs review » Closed (won't fix)

Support for the 5.x branch of VotingAPI has ended with the release of Drupal 7 and the upcoming release of VotingAPI 7.x-2.4.