Closed (won't fix)
Project:
Voting API
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2007 at 05:32 UTC
Updated:
11 Jan 2011 at 16:27 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| votingapi_views_option.patch | 1.66 KB | quicksketch |
Comments
Comment #1
eaton commentedSupport 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.