pagination with search filter