parent
04bdcfd39e
commit
e2fcff3b13
|
@ -15,6 +15,11 @@ henceforth should be documented here.
|
|||
|
||||
*Josh Kovach*
|
||||
|
||||
* Add ability to remove sort_link arrows
|
||||
([pull request](https://github.com/activerecord-hackery/ransack/pull/473)).
|
||||
|
||||
*Fred Bergman*
|
||||
|
||||
### Fixed
|
||||
|
||||
* Make `search_form_for`'s default `:as` option respect the custom search key
|
||||
|
|
|
@ -194,7 +194,8 @@ This example toggles the sort directions of both fields, by default
|
|||
initially sorting the `last_name` field by ascending order, and the
|
||||
`first_name` field by descending order.
|
||||
|
||||
You can remove the order indicator arrow by passing hide_indicator: true
|
||||
The sort link may be displayed without the order indicator arrow by passing
|
||||
`hide_indicator: true`:
|
||||
|
||||
```erb
|
||||
<%= sort_link(@q, :name, hide_indicator: true) %>
|
||||
|
|
Loading…
Reference in New Issue