fix pagination when using query string parameters

for example i have query string parameter per_page = 30
meta information doesn't keep that parameter in pagination.