diff options
| author | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-21 06:31:56 +0900 |
|---|---|---|
| committer | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-21 06:31:56 +0900 |
| commit | 59120063fe792ba0bc230749a36b1e4acf86443f (patch) | |
| tree | c5975ea95f7b7cd11f9f9f7736d02ac5b33cb81e /src/web/app/common/scripts | |
| parent | v3420 (diff) | |
| download | sharkey-59120063fe792ba0bc230749a36b1e4acf86443f.tar.gz sharkey-59120063fe792ba0bc230749a36b1e4acf86443f.tar.bz2 sharkey-59120063fe792ba0bc230749a36b1e4acf86443f.zip | |
#1023
Diffstat (limited to 'src/web/app/common/scripts')
| -rw-r--r-- | src/web/app/common/scripts/parse-search-query.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web/app/common/scripts/parse-search-query.ts b/src/web/app/common/scripts/parse-search-query.ts index adcbfbb8fe..62b2cf51b1 100644 --- a/src/web/app/common/scripts/parse-search-query.ts +++ b/src/web/app/common/scripts/parse-search-query.ts @@ -10,6 +10,9 @@ export default function(qs: string) { case 'user': q['username'] = value; break; + case 'follow': + q['following'] = value == 'null' ? null : value == 'true'; + break; case 'reply': q['include_replies'] = value == 'true'; break; |