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

TemplateSearcher: filter empty strings #30

Merged
merged 1 commit into from
Jun 28, 2023
Merged

Conversation

gselzer
Copy link
Member

@gselzer gselzer commented May 31, 2023

This PR solves the issue described in imagej/napari-imagej#113, ensuring that no Script Templates results are returned when the user passes an empty string. I believe (and that issue reinforces) the fact that the least surprising thing would be to ensure no search results are returned when the text is empty.

@hinerm hinerm merged commit 47d7b57 into master Jun 28, 2023
@hinerm hinerm deleted the filter-empty-search-strings branch June 28, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants