integrate Paginator in the search