diff options
| author | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-21 07:35:16 +0900 |
|---|---|---|
| committer | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-21 07:35:16 +0900 |
| commit | 40f5e67ff0f803fab117c405a0614df915381433 (patch) | |
| tree | 9e0a820d91727801a1c226c05e966dc3b914dba3 /src/web/app/common/scripts | |
| parent | v3422 (diff) | |
| download | sharkey-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.ts | 7 |
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': |