Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting doesn't seem to be working with plusmins_tally #35

Closed
dfischer opened this issue Jan 24, 2012 · 1 comment
Closed

Sorting doesn't seem to be working with plusmins_tally #35

dfischer opened this issue Jan 24, 2012 · 1 comment

Comments

@dfischer
Copy link

Given the following:

    @videos = Video.plusminus_tally({
      :order => "votes.count DESC"})

I noticed that if I change this to ASC nothing changes when I refresh the page. I went as far as to try to sort by name, etc, and no ordering changed. I even tried making it go blank and nothing. So, I'm pretty sure that ordering is never actually hit and it's only a hard value. Bug?

@bouchard
Copy link
Owner

This should be fixed as of the latest commit. Let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants