Skip to content

Filters with RefinableYesNo Managed Properties #4121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sympmarc opened this issue Nov 22, 2024 · 9 comments
Open

Filters with RefinableYesNo Managed Properties #4121

sympmarc opened this issue Nov 22, 2024 · 9 comments
Assignees
Labels
bug Something isn't working working on it

Comments

@sympmarc
Copy link
Contributor

Version used
Ex: 4.14.0

Describe the bug
When using a RefinableYes/No managed property as a filter, there are two issues:

  • The display of the filter shows False and True instead of No or Yes
  • Apply a filter (choosing True or False) returns no results.

To Reproduce
Detailed steps to reproduce the behavior:

  1. Map a Yes/No crawled property to one of the RefinableYesNo Managed Properties (I tried both the ows_IsPolicy and OWS_Q_BOOL_ISPOLICY options)
  2. Add a filter using the RefinableYes/No MP
  3. Try filtering

Expected behavior
Filtering should work

Screenshots

Filter
image

Results
image

Desktop (please complete the following information):

  • Edge
@kasperbolarsen
Copy link
Collaborator

Bug confirmed

@kasperbolarsen kasperbolarsen added the bug Something isn't working label Nov 25, 2024
@wobba
Copy link
Collaborator

wobba commented Nov 25, 2024

This relates to #3998. As it's actually a data issue and not web part issue I'm note sure I want to fix it here. I did reach out to the service team but haven't heard anything back, but will ping them.

@sympmarc
Copy link
Contributor Author

I only last week figured out those RefinableYesNoxx MPs existing. Should it work properly with RefinableString? (I can't remember ever trying with Yes/No columns.)

@wobba
Copy link
Collaborator

wobba commented Nov 27, 2024

@sympmarc string should work.. and check what the actual string value is.

@kasperbolarsen
Copy link
Collaborator

@sympmarc can you check your findings again using v.4.16? I get the true/false texts in the Refiner, but they works as expected for me.

@kasperbolarsen kasperbolarsen self-assigned this Feb 27, 2025
@sympmarc
Copy link
Contributor Author

@kasperbolarsen - Which do you want me to test? The RefinableYesNo MP or RefinableString?

@kasperbolarsen
Copy link
Collaborator

RefinableYesNo

@sympmarc
Copy link
Contributor Author

Yes, it seems to work in 4.16. Was it fixed in #3998 ?

It still says True/False, but the filtering seems to work. Given it's a Yes/No, it feels like it should use those strings instead.

@kasperbolarsen
Copy link
Collaborator

kasperbolarsen commented Feb 27, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working working on it
Projects
None yet
Development

No branches or pull requests

3 participants