dev/core#158 group contacts list and export limits results to 500 records #12273
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This is an alternative to #12244 - it fixes an intra-rc regression caused by this change
https://github.com/civicrm/civicrm-core/pull/12110/files#diff-35d8774ba8df60e417bb7f9d95f5578dL112
Before
From Manage groups screen only 500 contacts exported. E-notices

After
All contacts export - even when more than 500 are in the group
Technical Details
The issue was that
was not working as the form for contact is 'Basic' thus the 'export all records' was being lost, with flow on effects.
The reason it was lost was $components went from
to
So the line
was not returning the correct resuls
Comments
This really needs to be fixed for tomorrow's release. I have a high degree of confidence having exported from both the basic screen & manage groups & based on stepping through the code & seeing it fail to populate and being able to find the specific recent error causing it.
Hence, I am going to self-merge this to ensure it is in the release
ping @lcdservices @mattwire @kcristiano