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

Prevents error when search query ends with empty parenthesis #2642

Merged
merged 3 commits into from
Aug 10, 2021

Conversation

hectorcorrea
Copy link
Member

Fixes #1656

@coveralls
Copy link

coveralls commented Aug 9, 2021

Coverage Status

Coverage increased (+0.004%) to 96.959% when pulling a29bb43 on issue_1656_parslet into bb1f26c on main.

…ure why in some controllers, like on Bookmarks, it's a Hash, but that would be for another ticket)
Copy link
Member

@hackartisan hackartisan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will remove any additional "()" within the string, also, if it has more than one? I can't think of a reason to keep them, though.

@hectorcorrea
Copy link
Member Author

@hackartisan agreed on both accounts.

@hackartisan hackartisan merged commit db13d87 into main Aug 10, 2021
@hackartisan hackartisan deleted the issue_1656_parslet branch August 10, 2021 19:21
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.

[Orangelight/production] NoMethodError: undefined method `collect' for "()"@5:Parslet::Slice
3 participants