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

Add ability to remove sort_link arrows #473

Merged
merged 1 commit into from
Nov 24, 2014

Conversation

frederfred
Copy link
Contributor

This change adds the ability to remove the order indicating arrows in sort_link.

Usage:

<%= sort_link(@q, :name, hide_indicator: true) %>

Fixes #430

jonatack added a commit that referenced this pull request Nov 24, 2014
Add ability to remove `sort_link` arrows
@jonatack jonatack merged commit 04bdcfd into activerecord-hackery:master Nov 24, 2014
@jonatack
Copy link
Contributor

Thank you @frederfred for working on this.

@frederfred
Copy link
Contributor Author

My pleasure @jonatack !

jonatack added a commit that referenced this pull request Nov 25, 2014
jonatack added a commit that referenced this pull request Aug 29, 2015
This regression test, added in #473, tested the presence of the
attribute name instead of the absence of the order indicators and would
never fail.

Josh Hunter / Jon Atack.
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

Successfully merging this pull request may close these issues.

Is it possible to hide ▲ in sort_link for a particular column?
2 participants