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

filterrific_sorting_link behavior different than sort options #189

Open
JenniferMB opened this issue Oct 1, 2019 · 0 comments
Open

filterrific_sorting_link behavior different than sort options #189

JenniferMB opened this issue Oct 1, 2019 · 0 comments

Comments

@JenniferMB
Copy link

I have an HTML table on my view with a date field that I am transforming to text using the timeago gem. I have a leftnav area with a dropdown selection box which will sort the date values ascending and descending, when I apply the filter. This works beautifully.
I have assigned the filterrific_sorting_link to the head of the column. When I click the header to toggle the sort direction, the formatting reverts to plain date values until I paginate, then the timeago text is once again applied.
How can I configure the filterrific_sorting_link action to match that of the ordering filter?
Thank you for your time and attention.

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

1 participant