Currently the log section component is hard-coded to always do an "AND" search:
|
const { |
|
data: searchLog, |
|
refetch: searchRefetch, |
|
isFetching: searchLoading, |
|
} = useRead( |
|
`Search${target.type}Log`, |
|
{ |
|
...targetParams(target), |
|
terms, |
|
combinator: Types.SearchCombinator.And, |
|
invert, |
|
timestamps, |
|
} as any, |
|
{ enabled: !!terms.length, refetchInterval: poll ? 10_000 : undefined }, |
|
); |
It would be helpful to be able to control this behaviour, specifically as it applies to an inverted search, as I'm not often looking to do a search for NOT (term1 AND term2) but rather NOT (term1 OR term2)
Currently the log section component is hard-coded to always do an "AND" search:
komodo/ui/src/components/log-section.tsx
Lines 78 to 92 in cc1c5aa
It would be helpful to be able to control this behaviour, specifically as it applies to an inverted search, as I'm not often looking to do a search for
NOT (term1 AND term2)but ratherNOT (term1 OR term2)