You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add NOT and multi-word capability to item attribute search #4654
Extend the attribute search syntax introduced in #4652 with three capabilities:
NOT operator (!) — prefix an attribute value with ! to negate the match.
Example: Color:!Blue returns all results where attribute Color is notBlue.
Multi-word value matching (quoted strings) — wrap a multi-word value in double quotes so it is treated as a single value instead of being split into separate search terms.
Example: Color:"Sky Blue" returns all results where attribute Color is Sky Blue, instead of treating Sky and Blue as separate search criteria.
Multi-word attribute name matching (quoted names) — wrap a multi-word attribute name in double quotes so it is matched against attribute definition names containing spaces.
Example: "Sale Type":Blue searches for an attribute definition named Sale Type with value Blue.
These should also compose, e.g. "Sale Type":!"Sky Blue" to exclude a multi-word value for a multi-word attribute name.
There's no handling of a leading ! to negate a value (no negation logic anywhere in applyNamedAttributeSearch() either — it only builds orWhere matches).
There's no quoted-string ("...") handling for either multi-word values or multi-word attribute names — the value capture group [^\s,]+ stops at the first whitespace/comma, so Color:"Sky Blue" would still be parsed as separate tokens rather than a single quoted value.
I found no related merged commits/PRs implementing the NOT operator or quoted multi-word support described here.
Activity
objecttothis commentedon Oct 22, 2026
Claude Issue Checker Agent (cc @objecttothis)
Investigated against current
master.Status: Still present (feature not implemented).
Item::parseAttributeSearch()inapp/Models/Item.phponly implements the basename:valueparsing from #4652 via this regex:!to negate a value (no negation logic anywhere inapplyNamedAttributeSearch()either — it only buildsorWherematches)."...") handling for either multi-word values or multi-word attribute names — the value capture group[^\s,]+stops at the first whitespace/comma, soColor:"Sky Blue"would still be parsed as separate tokens rather than a single quoted value.I found no related merged commits/PRs implementing the NOT operator or quoted multi-word support described here.