Closed (fixed)
Project:
Advanced Poll
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
20 Nov 2006 at 05:14 UTC
Updated:
13 Jan 2007 at 07:45 UTC
We had to do a vote with many options, and it became apparent that the admin "Internal values, for debugging purposes only" might be useful to people not admins. So I rewrote the table so that the layout was bette, and used theme_table instead of a custom table.
This patch reflects this effort.
| Comment | File | Size | Author |
|---|---|---|---|
| ranking.inc.patch | 1.58 KB | WetherMan |
Comments
Comment #1
anarcat commentedI've imported a modified version of the patch in decisions, in commit #46005. I've protected it by "inspect all votes" instead of "administer decisions", which should also answer that request. Nice patch!
Comment #2
ChrisKennedy commentedGreat idea :) Man, you should have shown it in action at http://theforvm.org/polls/what-should-our-slogan-be earlier! I stumbled upon that tonight while looking to see if anyone was using Advanced Poll, and it was so beautiful that I had to get the code working tonight. IRV is finally not ugly as sin - it actually makes me want to use it on occasion.
The reason I didn't commit this earlier is that you were using an old version that didn't cache the results. It took a bit of effort to cache each round's data, but it should work. However, I haven't tested it much so let me know if you find any bugs.
http://drupal.org/cvs?commit=49361 (5.0)
http://drupal.org/cvs?commit=49363 (4.7)
Comment #3
(not verified) commented