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

Missing info in sorting documentation #1419

Closed
Kulgar opened this issue Apr 20, 2023 · 0 comments · Fixed by #1442
Closed

Missing info in sorting documentation #1419

Kulgar opened this issue Apr 20, 2023 · 0 comments · Fixed by #1442

Comments

@Kulgar
Copy link

Kulgar commented Apr 20, 2023

Hello,

There is an important missing info in this documentation page : https://activerecord-hackery.github.io/ransack/getting-started/sorting/

I'd like to do the same thing as described in the doc, but... instead of the "sort" field used in the form we see:

      <%= render partial: 'filters/date_title_sort', locals: { f: f } %>

So... as I don't know what this partial contains, I feel like I'm missing an important piece here :-)

Could you replace that "render partial" with the actual code?

Or put the partial code in the documentation?

Thx!

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 a pull request may close this issue.

1 participant