Did you correctly append your parameters,
From docs, quote
Appending To Pagination Links You may append to the query string of pagination links using the appends method. For example, to append sort=votes to each pagination link, you should make the following call to appends:
{{ $users->appends(['sort' => 'votes'])->links() }}
If you wish to append a "hash fragment" to the paginator's URLs, you may use the fragment method. For example, to append #foo to the end of each pagination link, make the following call to the fragment method:
{{ $users->fragment('foo')->links() }}
End quote
I usually formulate the array in the controller and pass it to the view using a with statement.
And I am so sorry if I misunderstood your question in any possible way. I just hope my answer has something to do with your question.