Separated search from pagination