I\'m implementing pagination based on a filtered query, it works okay before clicking on a page number but after clicking on a page number it shows all
pagination
query