Tp5 paging problem

after the backend queries the data by conditional paging, the front-end template displays the paging as shown in the figure. Now return all the data when you click on the second page. How to bring the previous query conditions.

Mar.01,2021

add the third parameter
paginate to the paged query paginate function ($this- > page_size, false, ['query' = > request ()-> param ()]);

Menu