How to automatically append query string to laravel pagination links?

后端 未结 9 1995
失恋的感觉
失恋的感觉 2020-12-01 06:06

I am working on search filter on checkbox click, with Laravel and Ajax call. So I get results when I click on a checkbox. my query is as follows:

    $editor         


        
9条回答
  •  粉色の甜心
    2020-12-01 07:06

    you can used request helper in view as same

    {{ $users->appends(request()->query())->links() }}
    

提交回复
热议问题