Combine pagination option with search.