#4540 Search form should default to substring matching
Opened by ferdnyc. Modified

Following up from a comment I left at #1122, the usability of the search form still leaves much to be desired.

In that issue, @tkopecek said,

They [(meaning, koji users)] expect substring search as default

Because it should be. The "Glob" mode should assume that an input of foo means *foo*, if not unilaterally then at least if foo contains no asterisks. Otherwise, what's the point of a separate "Exact" search mode, when "Glob" with no wildcards == "Exact"?


(Alternately, the form could default to RegExp searching instead of Glob searching, as RegExp does perform a substring match unless the pattern is bounded by ^ and $.)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/4540

Please continue any further discussion there.

Metadata