search with selected pagination