summaryrefslogtreecommitdiff
path: root/changelogs/unreleased/allow-filtering-labels-by-a-single-character.yml
Commit message (Collapse)AuthorAgeFilesLines
* Allow filtering labels by a single characterSean McGivern2019-03-131-0/+5
When we use Gitlab::SQL::Pattern, this typically relates to a trigram index. As the 'tri' indicates, we need at least three characters to be able to use that index. Labels don't have a trigram index, because we never allow you to search for them globally: it's always in the context of a project or a group. In that context, it's just as fast to search for a single character (in general) because there is already a pretty specific index being used.