Open Bug 1902029 Opened 1 year ago Updated 9 months ago

Search input criteria of 12-40 characters is too restrictive

Categories

(Testing :: PerfCompare, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: mayankleoboy1, Unassigned)

References

Details

(Whiteboard: [pcf])

Attachments

(1 file)

I want to search for all try runs from :sparky.
just typing sparky does not work. It should work.

See attached screenshot.

Summary: Search input criteria of 12-40 characters is stoo strict → Search input criteria of 12-40 characters is too restrictive

I totally agree. Thanks

Priority: -- → P3
Whiteboard: [pcf]

To copy what I wrote on the jira side:

The current logic is serverside: https://github.com/mozilla/treeherder/blob/6df095030feeccfc93536050926f2e5b3627000a/treeherder/webapp/api/push.py#L154-L160

We can use a new field name such as author_contains because this will change behavior for existing users.

Then we can use a query icontains in the filter as described in https://docs.djangoproject.com/en/5.1/ref/models/querysets/#id4

The existing lookup could use iexact to make it case insensitive as well.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: