After upgrading Civi from 5.3.1 to 5.9.0 (with drupal 7.61) any search results that use a custom display view (profile) does not work properly if that profile includes the groups or tags fields in the profile. Instead of the advanced search displaying all the records found it only displays one record at a time. At the top it may say "showing 1 to 50 of 100 records", but actually only shows one record.
I also hadn't realised that before upgrading, the groups or tags fields had not displayed at all in the advanced search - those columns would be missing even though they were included in the profile.
Is it possible to include groups or tags fields in a profile used for search results?
Disabling or deleting the groups/tags fields from the profile fixes the problem of only showing one contact at a time in the search results.