Commit 62ac6e8
committed
Use TypeaheadFilter with ** operator for project selector search
Separate the ~ (contains) and ** (everywhere/typeahead) operator paths
in NameFilter: ~ keeps single-substring LIKE behavior for explicit
user-facing filters; ** now splits on whitespace and ANDs all tokens,
enabling multi-term search.
Switch SearchableProjectListService from ['name', '~', ...] to
['typeahead', '**', ...] so the project selector routes through
TypeaheadFilter, which inherits the multi-term ** behavior automatically.1 parent 6024c23 commit 62ac6e8
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments