Closed Bug 1198134 Opened 9 years ago Closed 8 years ago

Sort Range Voting Result View

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mkohler, Assigned: tasos)

References

()

Details

The result view should be sorted by points for range votings. Like this we can directly see who had the most points.

Example: https://reps.mozilla.org/v/rep-of-the-month-for-august/
Group: mozilla-reps-admins
Hi Michael,

I am leaning towards characterizing this bug as wontfix. What you are describing, was exactly implemented until 3 months ago. What changed is that when we introduced the ability to comment on a voting and had the names sorted by votes and not alphabetically, basically we allowed everyone to have a rough idea how the poll was evolving. Eg if Michael and Tasos were in a range poll and Michael was first that basically meant that Michael had more votes. In order to have the fairest possible voting tool we decided to sort everything alphabetically.

Thoughts?
Good input, I can understand that. Is there a possibility to only sort it when the voting is finished?
Yes, we can do this but it's going to take a while. The main problem here is that we need both to restructure and create templates and also redesign some of the backend because the 'vote' and 'view a voting' functionality are handled by the same view (function) and the same template.
Assignee: nobody → tasos
After Jinja v2.6 a filter is enough for the requested functionality.
PR opened here:
https://github.com/mozilla/remo/pull/1219
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla/remo

https://github.com/mozilla/remo/commit/86f4947f663cc9198ac3c4349d5286ee870a0ff5
[fix bug 1198134] Sort the results in range polls.

https://github.com/mozilla/remo/commit/92881bcf9346517f5c811692037c0a27d8f07e50
Merge pull request #1219 from akatsoulas/1198134-sort-range-poll-results

[fix bug 1198134] Sort the results in range polls.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Version: unspecified → next
Verified on stage:

* The results of range polls are in descending order
Status: RESOLVED → VERIFIED
Version: next → 492
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.