Enhance search log filter with term support#3236
Open
limad wants to merge 1 commit intojeedom:alphafrom
Open
Conversation
Refactor search functionality to support multiple terms and :not filter.
Mips2648
requested changes
Apr 2, 2026
Collaborator
There was a problem hiding this comment.
Hello,
Thanks for this PR!
Unfortunately it will be impossible to accept because there is an ongoing workflow migration (to use the standard gitflow) on the repo and PR shouldn't be done on alpha anymore but on develop. Documentation still needs to be adapted.
We cannot rebase the PR automatically because there are some unwanted changes in alpha (due to jenkins)
Could you please resubmit your PR on develop please?
| } | ||
| search = jeedomUtils.normTextLower(search) | ||
|
|
||
| // Découpe sur la virgule → liste de termes (avec support :not par terme) |
Collaborator
There was a problem hiding this comment.
- no comment in french
- I don't think this is relevant to let a comment here as the code speak by itself
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Titre : Refactor search functionality to support multiple terms and :not filter.
Description
The log filter input (
in_searchLogFilter) previously supported only a single search term at a time, requiring users to retype their query to switch between logs.This refactor allows multiple comma-separated terms to be entered simultaneously (e.g.
ai_assistant,jee_mcp), so several logs can be highlighted at once. The existing:not()syntax is preserved and now works per-term, meaning it can be mixed with positive terms in the same query.No changes to the PHP side or the rest of the JS page were required.
Suggested changelog entry
Related issues/external references
Fixes #
Types of changes
PR checklist