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

ISSUE-271: Deal with Empty Queries on Advanced and Facet Summary for Queries #273

Merged
merged 2 commits into from
Feb 14, 2023

Conversation

DiegoPino
Copy link
Member

See #271. Includes some fixes for Advanced searches (Direct Parser) where we know (now) that Drupal's Parse Mode Parser DOES NOT know how to deal with an empty and we end with just the #conjunction which means a wrong Parsed Solr query. This filters out anything that after trimming == '' but preserves spaces on the query term if that is not the case.

There might be other "Edge" cases but we can start with what we know right?

And remove empties from Facet Queries.
So we discard empties... but we keep the untrimmed if the trim is not emtpy...
@DiegoPino DiegoPino self-assigned this Feb 14, 2023
@DiegoPino DiegoPino added bug Something isn't working enhancement New feature or request UI driven hints Show stuff on screen so people have less guessing to do Search and Discovery Mess around and find out Facets Safely navigating the too many choices Search API Sub Modules When you need more .info.yml files to keep life organized labels Feb 14, 2023
@DiegoPino DiegoPino added this to the 1.1.0 milestone Feb 14, 2023
@DiegoPino DiegoPino merged commit 2e5cc2a into 1.1.0 Feb 14, 2023
@DiegoPino DiegoPino deleted the ISSUE-271 branch June 16, 2023 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request Facets Safely navigating the too many choices Search and Discovery Mess around and find out Search API Sub Modules When you need more .info.yml files to keep life organized UI driven hints Show stuff on screen so people have less guessing to do
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant