-
Notifications
You must be signed in to change notification settings - Fork 1
[Translation] Add search filter #1220
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds search filter functionality to the translation system, allowing users to search for translations by key or text content across all languages. The implementation adds a new "search" filter type that can be applied to translation listings.
- Adds a new search filter type that searches both translation keys and text content
- Implements repository method for applying search conditions with case-insensitive LIKE queries
- Updates API documentation and examples to include the new search filter usage
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
translations/studio_api_docs.en.yaml | Adds translation strings for new API documentation |
src/Translation/Service/TranslatorService.php | Integrates search filter processing and applies search conditions |
src/Translation/Repository/TranslationRepositoryInterface.php | Defines interface method for search condition |
src/Translation/Repository/TranslationRepository.php | Implements search condition with LIKE queries on key and text fields |
src/Translation/Controller/ListController.php | Updates API documentation example to include search filter usage |
|
Changes in this pull request
Resolves #1219
Additional info
Search filter can be applied like that: