summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2017-12-21 07:35:16 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2017-12-21 07:35:16 +0900
commit40f5e67ff0f803fab117c405a0614df915381433 (patch)
tree9e0a820d91727801a1c226c05e966dc3b914dba3 /src/web/app/common/scripts
parentv3422 (diff)
downloadsharkey-40f5e67ff0f803fab117c405a0614df915381433.tar.gz
sharkey-40f5e67ff0f803fab117c405a0614df915381433.tar.bz2
sharkey-40f5e67ff0f803fab117c405a0614df915381433.zip
:v:
Diffstat (limited to 'src/web/app/common/scripts')
-rw-r--r--src/web/app/common/scripts/parse-search-query.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/web/app/common/scripts/parse-search-query.ts b/src/web/app/common/scripts/parse-search-query.ts
index 62b2cf51b1..f65e4683a6 100644
--- a/src/web/app/common/scripts/parse-search-query.ts
+++ b/src/web/app/common/scripts/parse-search-query.ts
@@ -14,10 +14,13 @@ export default function(qs: string) {
q['following'] = value == 'null' ? null : value == 'true';
break;
case 'reply':
- q['include_replies'] = value == 'true';
+ q['reply'] = value == 'null' ? null : value == 'true';
+ break;
+ case 'repost':
+ q['repost'] = value == 'null' ? null : value == 'true';
break;
case 'media':
- q['with_media'] = value == 'true';
+ q['media'] = value == 'null' ? null : value == 'true';
break;
case 'until':
case 'since':