Unwanted form parameters being appended to pagination links

后端 未结 4 1109
抹茶落季
抹茶落季 2021-02-08 04:29

I have a page which is used for searching through listings by submitting data using the supplied forms. The form parameters are submitted via ajax (post request), a new record i

4条回答
  •  梦毁少年i
    2021-02-08 05:30

    You could try cleaning params by keeping only the things you need and deleting everything else before displaying the search results.

    To use post I think you missed a second step, where you have to override the kaminari link partials : https://github.com/amatsuda/kaminari/wiki/Kaminari-recipes

提交回复
热议问题