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

Parse out empty params from queries #2131

Merged
merged 1 commit into from
Sep 16, 2020
Merged

Parse out empty params from queries #2131

merged 1 commit into from
Sep 16, 2020

Commits on Sep 16, 2020

  1. Parse out empty params from queries

    If an empty param,`()`, is included in a query, the boolen query parser included from advanced search gem throws an error.
    
    It is documented as an issue upstream at projectblacklight/blacklight_advanced_search#101, but at the moment no fix upstream is proposed.
    
    This PR works around the issue by removing empty parens from the query string. It does not impact parens containing content.
    Chad Nelson committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    d9092ea View commit details
    Browse the repository at this point in the history