Support Article

Global search does not work correctly for custom parameters



Issue 1: Global Search by default retrieves 20 results based on parameter pyMaxWork. On modifying pyMaxWork = 40 in pySearchWorkParams activity, then results retreived by search API is always 20 only.

Issue 2: Also, Search should return recent created items but it does not for example return the lastest results for a quarter.

Error Messages

Not Applicable

Steps to Reproduce

1. Create 20+ workitems. 
2. Change pyMaxWork to 40 and add a filter to return work items in a quarter in the activity pySearchWorkParams. 
3. Perform a global search in case manager portal. Only 20 items are returned but they are not the recent ones.

Root Cause

Issue 1 :  pyMaxWork cannot modified. This is as per design. 
Issue 2: User made use of pxUpdateDateTime with symbolics like Last 90 Days to return the latest results. This does not work from pzSearchResultsWork.


Issue 1: pySearchWorkParams is an extension activity to add additional filters. Additional properties set here like for pyMaxWork do not get honoured. 
Issue 2: Filter on pxUpdateDateTime with symbolics like Last 90 Days does not work from pzSearchResultsWork.Instead, it's suggested to use pzWorkLastUpdated with 'Last 90 Days'. 

Published August 30, 2016 - Updated September 8, 2016

0% found this useful

Have a question? Get answers now.

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