Break out search-results-list fn to be more generic.