How do i get the complete list of records in a list view. I know using getRecords() we can get but its only limited to maximum of 20 records. But i need list of complete records for the List view. Is it possible?.
ApexPages.StandardSetController setCon;
List<Bug__c> lChanges = new List<Bug__c>();
public GenerateCardListView_Cntrl(ApexPages.StandardSetController controller) {
setCon = controller;
lChanges = setCon.getRecords();
system.debug('&&&&&'+setCon.getRecords());
system.debug('&&&&&'+setCon.getRecords().size());
}
The size in the debug returns 20 if the size is more than 20.

getHasNext()returnsfalseand we don't go to the while. – SF_user Jan 22 '15 at 14:00