Skip to content
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

Fixes #38252 - Display boolean searchable_value as true/false in search field #10462

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

lfu
Copy link
Contributor

@lfu lfu commented Feb 27, 2025

searchable_value is a text field in DB. So boolean value is saved as t and f in the DB instead of true and false.
We will present these boolean values as true and false in the search field with this commit.

Test Steps
Hosts - Content Hosts, and in the search field, you can add a query

Before
params.host_registration_insights = f and params.host_registration_insights = false
Both "false" and "f" will be presented automatically on Satellite . But you get accurate response only when selecting "f".
I don't see params.host_registration_insights = false displayed on a devel box.

After
Only params.host_registration_insights = false for false and params.host_registration_insights = true

@lfu lfu marked this pull request as draft February 27, 2025 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant