Closed (won't fix)
Project:
Fivestar
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
5 Feb 2009 at 18:35 UTC
Updated:
8 Jun 2011 at 22:05 UTC
Jump to comment: Most recent file
In function _fivestar_cast_vote selects only vote_id when selecting old vote
This patch add value into select so modules depended on voting can count properly for example userpoints gained on voting can use hook_votingapi_update($vote, $new_value) to recalculate points depending on new value and removing old poins
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 369809_revote_value_d5.patch | 1.47 KB | andypost |
| #6 | 369809_revote_value_d5.patch | 1.47 KB | andypost |
| revote_value_d6.patch | 1.5 KB | andypost | |
| revote_value_d5.patch | 1.5 KB | andypost |
Comments
Comment #1
andypostPatch against CVS
Comment #2
andypostAny progress?
Comment #3
ezra-g commentedThanks for this patch!
Looking at _fivestar_cast_vote(), these queries are no longer preset. Instead, Fivestar calls the votingapi, which does _votingapi_select(), which includes a select all, which seems like it addresses the original intention of this patch. For this reason, I'm marking this issue as fixed but please re-open if this doesn't address the same issue as your patch.
Comment #5
andypost@ezra-g Drupal 5 still buggy
Comment #6
andypostPatch here
Comment #7
andypostfield name is value not vote
Comment #8
ericduran commentedI'm going to close this issue. This is an old issue and is not longer an issue in d6 and 7.
Thanks.