Pagination in Smart Group Alphabetic listings
Overview
When creating a Smart Group (in this case, via the Search Builder) and displaying Contacts within the Smart Group, if we choose to view the Contacts by Alphabet letter, and then paginate through that letter (i.e. viewing page 2 of the contacts with surnames starting "H"), then, at the end of the list, the contacts from the start of the "H"s are repeated.
For instance, on page 2 of the "H"s in my smart group, I see that it's displaying "Contact 51 - 67 of 67". But after Contact number 67 it starts to display the "H"s from the start again, in positions 68 to 100 (which shouldn't exist in the view).
Reproduction steps
- Create a Smart Group using Search Builder
- Navigate to Contacts > Manage Groups. Find the Smart Group and view "Contacts"
- Navigate to a letter of the alphabet for Contacts where the number of results returned > 50, and view the last page of listings.
Current behaviour
Smart Groups Contacts filtered by Letter repeating contacts on last page of listings.
Expected behaviour
Smart Groups Contacts filtered by Letter only display each contact once.
Environment information
CiviCRM 5.24.3 WordPress 5.4.1
Comments
I couldn't test this on the demo sites, as there aren't enough contacts in the demo site databases to display > 50 contacts per letter of the alphabet. Can contact data on demo sites be expanded?