Support Article

Global search works differently for Enter key and clicks

SA-26349

Summary



On upgrading to Pega 7.1.9 from Pega 7.1.8, user observed inconsistency in the search functionality.

Searching a particular Case ID returned the result of the Case ID that was previously accessed. Also, partial search of a Case ID did not return the correct results. 


Error Messages

Not Applicable


Steps to Reproduce



1. Launch Case Manager portal. 
2. Add a case number in the search box and press Enter. 
3. Type another case number in the search box and click Enter. The previous case shows up in the search box.


Root Cause



The search logic needs to be modified to show the top 20 results in the search pop-up.

Resolution



First Issue: Searching a particular Case ID returns the result of the Case ID that was previously accessed

Implement below local-change:

1. Override @baseclass.pyWorkSearch section (it is available so can be saved into your application ruleset) and open the configuration settings for the Work-.pyWorkSearchResults section include. 
2. Change the first Data page parameters “SearchString” from “pyDisplayHarness.pySearchText” to “.pySearchText”. 
3. Save the custom @baseclass.pyWorkSearch

Second Issue: Partial search of a Case ID does not return the correct results.

Apply HFix-28529 to resolve this issue.

Published August 3, 2016 - Updated August 10, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.