added pagination to search results in partial