Needs review
Project:
Voting Rules
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2011 at 22:38 UTC
Updated:
24 Jul 2012 at 12:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
cbergmann commentedAfter creating a issue ID.
Here is my properly named patch file.
Comment #2
BrilliantMkting commentedThankyou cbergmann,
I have a different use case, but this is exactly what I need. I hope it makes it into the main module!
Comment #3
brycesenz commentedThanks for the patch, it seems to be exactly what I needed as well. Marking this as 'needs review' until a few other people can confirm that it works, but I hope it gets committed soon.
Comment #4
mfoda commentedThanks for the patch. I'm trying to get this to work with options instead of points.
I have a simple Rate widget with two options, "Yes" and "No", with values "1" and "2" respectively.
Under the action configuration page I'm able to select "options" as the type of vote to case. However, under "Value" it says "How many points should be granted." It seems to me that this would work for points and percentages(?).
I tried using "1." And it partially worked. After the condition is met I navigate to the node where the Rate widget is displayed and it says underneath it "You have voted Yes." The first problem is that the count next to the widget still displays zero.
The other problem is that I can't vote on the other option. I tried to cast a "no" vote by changing the value to "2" (as it is under the widget type page), but this actually voted "yes" again, and I think will see two "yes" votes if I check the vote count.
Please tell me how to fix this, or whether the implementation for "option" type is not yet complete, so I can stop trying to do this and turn to something else.