SearchKit: Active Relationship filter doesn't work in Form Builder
Overview
When you create a report with Search Kit and Form Builder to view the current Active Relationships, when you filter by "Is Active: Yes" it messes up and shows you the inactive Relationships.
Reproduction steps
- Create a Search Kit with Related Contacts such as Below
- In the Form Builder add the "Relationship is Active" Field to be able to filter by it.
- In the Report just filter by active Relationhsips. It will show you the inactive relationships.
Current behaviour
When you filter in the Search Kit Form it filters correctly.
But when you filter in the Form, it shows you the inactive relationships, as showed above.
When you filter by Inactive relationships they are showed correctly.
But when you filter by both, it shows only Inactive Relationships.
When you leave the filtering empy it works fine. It shows Active and Inactive Relationships.
Expected behaviour
Filter by Active relationships when you input "Yes". Filter by Inactive relationships when you input "No".
Environment information
- CiviCRM: dmaster v.5.56