summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2017-12-21 06:31:56 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2017-12-21 06:31:56 +0900
commit59120063fe792ba0bc230749a36b1e4acf86443f (patch)
treec5975ea95f7b7cd11f9f9f7736d02ac5b33cb81e /src/web/app/common/scripts
parentv3420 (diff)
downloadsharkey-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.ts3
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;