Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Search with localized values is not working in filter functional

SA-39315

Summary



Search with localized values is not working in filter functionality of repeat grid

User scenario:-

1. A Repeat grid column is displayed using the localized value.
2. While using the filter functionality on the column, unique localized values are displayed as expected.
3. In the Filter pop over:

a. if user searches with a text that’s present in the localized value, we get no results and this was reported as an issue under this SR.
b. If user searches with a text that’s present in the corresponding clipboard value, user gets the result



Error Messages

Not Applicable

Steps to Reproduce



1. Add a Data Page in a repeat grid and populate data in Data Page.

Below is sample data of StudentDataPg.

ID Student Name Department

101 Name ComputerScience.

2. Create a field value rule for one of the column value for a row of Data Page. i.e Create a field value rule for "Name" as "LocalizedText"

3. Configure above created data page in a repeat grid and enable filtering.

4. Run the use-case to display content of repeat grid.

5. Click filter on "Student name" column.

6. In the filter pop-up, enter "LocalizedText" as search key.

7. Observe that the search result return null, as it's not able to find data with "LocalizedText"


Root Cause



A software use or operation error, it's an expected behaviour.

Resolution



Here’s the explanation for the reported behavior:

Providing localized value in filter popover search filed is not a correct use case. Filtering happens only on the value present in clipboard. Mechanism to retrieve original value from localized value is not yet present in pega. And implementing this mechanism would be too costly.

Though developer can implement below local change:-

Field value should be created in two classes, one in ABC-Data-TestDataPg class(with this localized value is shown in grid row) and second in Pega-ColumnFilterCriteria-UniqueValues-Text class(with this ocalized value is shown in filter popover). Now in row and in filter popover user will be able to see the same value and by selecting the checkbox filtering happens as expected.

Published November 22, 2017 - Updated October 8, 2020

Was this useful?

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.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice