summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-12-23 07:21:52 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-12-23 07:21:52 +0900
commitf0818edd6e1d566a3d7e2b5495eeb389d728f564 (patch)
tree94c12aa77cf479319e94fc803351f1c540c74727 /src/web/app/common/scripts
parent#1034 (diff)
downloadsharkey-f0818edd6e1d566a3d7e2b5495eeb389d728f564.tar.gz
sharkey-f0818edd6e1d566a3d7e2b5495eeb389d728f564.tar.bz2
sharkey-f0818edd6e1d566a3d7e2b5495eeb389d728f564.zip
#1037 #1038
Diffstat (limited to 'src/web/app/common/scripts')
-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';