Global Search option does not render more than 20 records
The Global Search option on the Customer Relationship Management for Health Care (CRMHC) Interaction portal does not return more than 20 records even if there are more records present. This occurs when Pega Customer Service 7.31 is installed on Pega 7.31.
Steps to Reproduce
Perform a search for a keyword in the Global Search on the CRMHC Interaction portal.
The CPMSearchResultsWork activity fetches maximum of 20 records. The CPMSearchResultsWork activity inturn invokes the pzSearchResults activity to fetch the Search results on invoking it. The Param.allResults property is not set to True before invoking the pzSearchResults activity. Hence, the CPMSearchResultsWork activity fetches maximum of 20 records according to the .pyMaxWork property.
Perform the following local-change in the CPMSearchResultsWork activity:
Set the Param.allResults property to True before invoking the pzSearchResults activity to fetch all the Search results.
The results are limited with the property Local.iCount>=Declare_CAApplicationSettings.WorkObjectSearchResults, instead of hardcoding to 20 after fetching the Search results. However, at the user end, Local.iCount>=20.