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

Fixed search with boolean arguments. #1671

Merged
merged 1 commit into from Jul 30, 2021

Conversation

Daniel-KM
Copy link
Contributor

When we do an api query with ?…&is_public=0&… or ?…&is_public=1&…, it works fine, but sometime the value is ?…&is_public=&…, it doesn't work, because the empty value "" is not skipped as a null value, but converted into 0, so private.

This issue is already fixed for user is_active, or media, etc., but not for the resources and the site pages.

Daniel-KM pushed a commit to Daniel-KM/Omeka-S-module-AdvancedSearchPlus that referenced this pull request Jan 19, 2021
Daniel-KM pushed a commit to Daniel-KM/Omeka-S-module-Search that referenced this pull request Jan 19, 2021
@zerocrates zerocrates merged commit 1d0ad54 into omeka:develop Jul 30, 2021
@Daniel-KM Daniel-KM deleted the fix/boolean_search branch August 2, 2021 19:08
Daniel-KM pushed a commit to Daniel-KM/Omeka-S-module-AdvancedSearch that referenced this pull request Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants