aboutsummaryrefslogtreecommitdiffstats
path: root/cache/query.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-03-03 15:27:29 +0100
committerGitHub <noreply@github.com>2019-03-03 15:27:29 +0100
commitfe8b0659c9bc1cb074a5acfbafcabd603e533f9f (patch)
treeb3d8db1596b7347fdcf39cfdc9614a3c09464b36 /cache/query.go
parent7260ca05bc3588c0572887a7d8f1b897c7fc13da (diff)
parent408654514ea813933f45d383d949611d138084e1 (diff)
downloadgit-bug-fe8b0659c9bc1cb074a5acfbafcabd603e533f9f.tar.gz
Merge pull request #100 from sladyn98/faster_ls
`git bug ls` should be faster
Diffstat (limited to 'cache/query.go')
-rw-r--r--cache/query.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cache/query.go b/cache/query.go
index 6ffa6510..39815d32 100644
--- a/cache/query.go
+++ b/cache/query.go
@@ -60,6 +60,10 @@ func ParseQuery(query string) (*Query, error) {
f := LabelFilter(qualifierQuery)
result.Label = append(result.Label, f)
+ case "title":
+ f := TitleFilter(qualifierQuery)
+ result.Label = append(result.Title, f)
+
case "no":
err := result.parseNoFilter(qualifierQuery)
if err != nil {