aboutsummaryrefslogtreecommitdiffstats
path: root/query/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'query/query.go')
-rw-r--r--query/query.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/query/query.go b/query/query.go
index 816d6414..3a2321cf 100644
--- a/query/query.go
+++ b/query/query.go
@@ -23,10 +23,17 @@ func NewQuery() *Query {
type Search []string
+// Used for key-value pairs when filtering based on metadata
+type StringPair struct {
+ Key string
+ Value string
+}
+
// Filters is a collection of Filter that implement a complex filter
type Filters struct {
Status []bug.Status
Author []string
+ Metadata []StringPair
Actor []string
Participant []string
Label []string