Change the results order

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Alperian's picture

Great module. Is there any way of displaying the results in the order they were created in the choice field in the backend?

At the moment of course they are sorted by number of votes descending which although being too clever by half is not what I need at the moment.

Comments

data stored in advanced poll in this way

shiv_sms's picture

advpoll - stores the new polls created

advpoll_choices - the choices for voting

advpoll_electoral_list - the valid voter list

votingapi_vote - all the votes registered are stored

votingapi_cache - all the votes registered are stored along with total votes

Hope this info helps people trying to compile results from the backend.

...and great tables they are all!!

Alperian's picture

I have been studying the tables and code for three days off and on now. I am a simple man.

I just wondered if there was one line in the code which stopped the result percentages being re-ordered.

I am trying to assign colours to pie chart segments and the corresponding results text from a color picker field?

change the number of votes

lukasss's picture

How to change the number of votes at the option as it goes to polls

Advanced Poll

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: