diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-12-23 07:21:52 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-12-23 07:21:52 +0900 |
| commit | f0818edd6e1d566a3d7e2b5495eeb389d728f564 (patch) | |
| tree | 94c12aa77cf479319e94fc803351f1c540c74727 /src/web/app/common/scripts | |
| parent | #1034 (diff) | |
| download | sharkey-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.ts | 5 |
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'; |