summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/parse-search-query.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/scripts/parse-search-query.ts')
-rw-r--r--src/web/app/common/scripts/parse-search-query.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/web/app/common/scripts/parse-search-query.ts b/src/web/app/common/scripts/parse-search-query.ts
index c021ee6417..512791ecb0 100644
--- a/src/web/app/common/scripts/parse-search-query.ts
+++ b/src/web/app/common/scripts/parse-search-query.ts
@@ -8,7 +8,10 @@ export default function(qs: string) {
const [key, value] = x.split(':');
switch (key) {
case 'user':
- q['username'] = value;
+ q['include_user_usernames'] = value.split(',');
+ break;
+ case 'exclude_user':
+ q['exclude_user_usernames'] = value.split(',');
break;
case 'follow':
q['following'] = value == 'null' ? null : value == 'true';