Indexed Source Filters are applied incorrectly between childtables


Description

AI Search Source "preview" functionality can display an incorrect number of records if the Indexed source has records on child tables

Steps to Reproduce

  1. Add an indexed source filter to a datasource that has child tables with records.
  2. Click on the 'preview' message
  3. Observe that a filter appears between child table OR conditions. 



Example of an incorrectly generated condition:

Class | is | [Knowledge] AND
Workflow | is not one of | Outdated, Retired AND
Class | is | [Child table 1] OR
Class | is | [Child table 2] OR
etc...

Which should be:


Class | is | [Knowledge] OR
Class | is | [Child table 1] OR
Class | is | [Child table 2] AND
Workflow | is not one of | Published

Workaround

This PRB does not affect indexing or searching, only the preview functionality.

 


Related Problem: PRB1521222