You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've included the plugin in a rails 3.0 app and it mostly worked as expected. But i have experienced some problems with the table header generation, looks like the ActionView method "link_to" has a problem with the way the options-array is generated by "build_url_params" in sortable_helper.rb.
The solution for me was to change line 57 in sortable_helper.rb from
I did that change via an initializer to prevent touching the plugin and i didn't thoroughly test it, but it works for me. And as far as i checked, it shouldn't create any unwanted side-effects.
The text was updated successfully, but these errors were encountered:
I've included the plugin in a rails 3.0 app and it mostly worked as expected. But i have experienced some problems with the table header generation, looks like the ActionView method "link_to" has a problem with the way the options-array is generated by "build_url_params" in sortable_helper.rb.
The solution for me was to change line 57 in sortable_helper.rb from
"return {:action => action, :params => params}"
to
"return {:action => action}.merge(params)"
I did that change via an initializer to prevent touching the plugin and i didn't thoroughly test it, but it works for me. And as far as i checked, it shouldn't create any unwanted side-effects.
The text was updated successfully, but these errors were encountered: