Closed (won't fix)
Project:
Voting API
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2006 at 12:08 UTC
Updated:
6 Jun 2008 at 03:00 UTC
Howdy,
i am trying to use Views to sort stories by their voting result (descending) but seems the order does not reflect this..
also seems that -1 are counted as 1, actually what i am experiencing is commented at http://drupal.org/node/70045
can anyone confirm or help please?
NOTE: attached is the view i am using. Sorting by voting result 'ascending' seems to work though..
thanks a lot
| Comment | File | Size | Author |
|---|---|---|---|
| voteupdown-view.txt | 1.7 KB | marcoBauli |
Comments
Comment #1
marcoBauli commentedrunning a cron sorts things better! :P
..still the -1s counted as 1 remains..ty
Comment #2
marcoBauli commentedhmm...nope..it worked just for one day, but adding more nodes broke it definitely...
nodes with an average vote of 1 are displayed before those with avrg vote of 2..then 1s again (you can check at http://webhost.aconfronto.com/top/delmese/web%20host )
tryed also adding an extra votingapi filter as adviced here, but nothing..
Help apreciated!
Comment #3
formicin commentedI'm having the same problem. It just doesn't sort right. Did you guys make it work?
Comment #4
roleychiu commentedi have the same problem. using 4.7. it is quite frustrating. The voting sort seems not to work with the TEASER VIEWS. with standard views like list or table or even grid, they seem to work, but the most important view type (teaser list) seems to mess the sort orders up (nodes with 1 vote are showing up before nodes with 2 votes)
Comment #5
frjo commentedThis is a problem with Views and Voting API so marked as support.
Comment #6
mstef commenteddoes anyone know if the sorting thing was figured out yet?
i just realized it doesn't work on my site and I am freaking out..
thanks
Comment #7
marcoBauli commentedthings are moving on another issue between Views and Voting API in the latter's queue at http://drupal.org/node/63430
Voting API integration seems not too well integrated with Views. Moving this issue there then in case someone can take it into consideration
Comment #8
eaton commentedAs of this evening at 2:06 AM, views integration for VotingAPI has been rewritten from scratch. All hail views! The good news? It should actually work. The bad news? You'll need to remove and re-add any VotingAPI fields that you had on existing Views. This shouldn't be problematic, as the old views integration was completely broken anyhow.
Caveats: Output formatting of vote results, etc is still being finished. In addition, much more testing is needed before it can be said that the new integration code is 'ready for prime time.' But it's definitely much better. I'm going to be closing the existing threads regarding VotingAPI and Views because all of them point to known issues with the *old* versions of the code. Those interested in testing the new code can download the latest VotingAPI from: http://drupal.org/node/128605
Thanks for your patience!
Comment #9
marcoBauli commentedsuch good news is this! i was just waiting for this fix to launch a small website...will try to test next week and report back here. Thx lot!
Comment #10
(not verified) commentedComment #11
marcoBauli commentedreopening this, as seems the new version (latest rewritten from scratch release) is only for 5.0... is a 4.7 backport in the plans? Thank you very much
Comment #12
eaton commentedUnfortunately, there's no 4.7 backport for the current features planned.