Closed (fixed)
Project:
Plus 1
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 01:28 UTC
Updated:
12 Mar 2009 at 20:50 UTC
Jump to comment: Most recent file
I think that the $criteria array that is passed into votingapi_select_results in the plus1_vote function is missing the "function" parameter, like plus1_get_score function sets.
We've migrated weighted votes from DrupalIt to Plus1 and so count is different than sum for us.
Thanks for the nice module.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | plus1_retrieves_wrong_total_issue_321398_3.patch | 618 bytes | voxpelli |
Comments
Comment #1
voxpelli commentedI can confirm this - it retrieved the wrong number when I voted but after a page refresh it showed the correct number. Seemed as if it conflicted with the Fivestar-module I already had tried out on the nodes.
Comment #2
cardentey commented¿Someone has solved this problem? thanks
Comment #3
voxpelli commentedI have attached a patch that seems to solve this
Comment #4
Chill35 commentedVoxpelli,
I will give that patch some quick testing and apply it today. Looking good.
I will not have the opportunity to test along side with another module that uses the Voting API. If this works, though, it means it does not break anything, and that's good enough for me.
Comment #5
Chill35 commentedCommitted to the 2nd branch. Will be part of 6.x-2.5 release. Thank you again.