Closed (fixed)
Project:
Fivestar
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2012 at 19:45 UTC
Updated:
23 Sep 2017 at 04:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ericduran commentedI could swear we fixed this in the dev version. We add a sort handler for the fivestar field.
I'll do more testing.
Comment #2
Sinan Erdem commentedEric, I am sorry, I checked again and saw that I am using 7.x 2.0 alpha2. If you say that you fixed that after alpha2, then there should be no problem. I will test it soon.
Comment #3
Sinan Erdem commentedNope, it is not working with the latest dev.
Also putting sort criteria in Views is not sorting correctly.
Comment #4
msedlacek commentedI've noticed the same issue. If I have a view of nodes of a specific content type that has a fivestar field, I add that fivestar field as an exposed sort criteria and the sorting is not correct. Is this supposed to sort based on the "votingapi_vote" table and within that the "value" field in the db?
Comment #5
yurg commentedHi there.
Hope it's right issue to add my case. I have nodes with Fivestar field. After trying to add Views exposed sort by Fivestar field ( which doesn't work ) and add Table view sort column by Fivestar field ( which also doesn't work ) I came to quite widely proposed solution with Vote Relationship, based on Lullabot video ( http://drupal.org/node/1233404 ). Summary Views table was made to check correspondence between Fivestars and Votes Relationship http://i.imgur.com/pMUPf.png Can confirm Table fields sorting doesn't work, nor Fivestars exposed sort. Vote Relationship exposed sort works fine ( http://i.imgur.com/A4eSU.png ), but Table field sorting doesn't still. As a side note: shouldn't Fivestar Views sorting "useless" be noted somewhere?
*** UPD ***
http://drupal.org/node/1188828 : should be related.
Comment #6
whiteph commentedPlease test with 7.x-2.1 release and report back, as there have been a lot of fixes applied since then.
Comment #7
coolman7 commentedI'm using 7.x-2.1 and similar problems still exist. Sorting in views based on average vote does not sort perfectly.
Comment #8
troybthompson commentedHaving the same problem. Any progress?
Comment #9
dbt102 commentedPlease test with 7.x-2.2 release and report back, as there have been a lot of fixes applied since then. Marking this as fixed. If you find the issue still exists, please reopen this issue.
Comment #10
dbt102 commentedComment #12
dtabach commentedThe same issue here, using v7.x-2.2.
Table Views sorted by rating not working correctly.
I cannot reopen the issue.