summaryrefslogtreecommitdiffstats
path: root/model/search_params.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-05-09 12:00:08 -0400
committerCorey Hulen <corey@hulen.com>2016-05-09 09:00:08 -0700
commit07126101d379b900724c7c5cfc82070b42c235d6 (patch)
tree80b2485b61eb1684cd6127473267af206c3ab1c2 /model/search_params.go
parent9e07f4b021b28a3e301359a48cf950298f3e552e (diff)
downloadchat-07126101d379b900724c7c5cfc82070b42c235d6.tar.gz
chat-07126101d379b900724c7c5cfc82070b42c235d6.tar.bz2
chat-07126101d379b900724c7c5cfc82070b42c235d6.zip
Recent mention searches now OR terms instead of AND (#2931)
Diffstat (limited to 'model/search_params.go')
-rw-r--r--model/search_params.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/search_params.go b/model/search_params.go
index d31782691..250c8e1f3 100644
--- a/model/search_params.go
+++ b/model/search_params.go
@@ -12,6 +12,7 @@ type SearchParams struct {
IsHashtag bool
InChannels []string
FromUsers []string
+ OrTerms bool
}
var searchFlags = [...]string{"from", "channel", "in"}