Skip to content

Ignore surrounding white spaces when filtering by job class name or queue#297

Merged
rosa merged 1 commit intorails:mainfrom
diegous:strip-search-filters
Dec 21, 2025
Merged

Ignore surrounding white spaces when filtering by job class name or queue#297
rosa merged 1 commit intorails:mainfrom
diegous:strip-search-filters

Conversation

@diegous
Copy link
Copy Markdown
Contributor

@diegous diegous commented Dec 21, 2025

Fix: filtering by job class name or queue and including white spaces surrounding the input text will result in a mismatch even if the text matches jobs present in the database.

Adding #strip to the search params prevents this from happening.

@rosa rosa merged commit be5fdd8 into rails:main Dec 21, 2025
3 checks passed
@rosa
Copy link
Copy Markdown
Member

rosa commented Dec 21, 2025

Thank you!

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.

2 participants