Page MenuHomePhabricator

Make related object search more flexible
Closed, DuplicatePublic

Description

When adding a related object (e.g. adding a task to a diff) a popup with a search field pops up.
The search result does only contains results that start with the given search term.

So if you have these 3 tasks ...

  • Hello World
  • World Hello
  • Other random thing

... and you type World in the "related object search field" you'll only get World Hello as a result.

It would be useful if the whole title is searched by a "contains" instead of "starts with"

Event Timeline

How can I reproduce this?

pasted_file (196×887 px, 22 KB)

We even search the description.

pasted_file (241×922 px, 30 KB)

(I have no idea on this either, the related object task search is definitely fulltext.)

Ok sorry for that - that was a really bad example... The problem is that only complete words are found and not parts of it.
So you'll get a result for "Hello" but not for "Hell".
So searching for "Component" will give no result if the title is "Components". Is that correct?