No pagination when search field is not empty