diff options
| author | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-21 07:57:31 +0900 |
|---|---|---|
| committer | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-21 07:57:31 +0900 |
| commit | aff76a57c0d123b992d7284faba6c5a146985246 (patch) | |
| tree | 5addcea91e7a31bf127266b505b01947fe0b6708 /src/web/app/common/scripts | |
| parent | Fix bug (diff) | |
| download | sharkey-aff76a57c0d123b992d7284faba6c5a146985246.tar.gz sharkey-aff76a57c0d123b992d7284faba6c5a146985246.tar.bz2 sharkey-aff76a57c0d123b992d7284faba6c5a146985246.zip | |
:v:
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 f65e4683a6..c021ee6417 100644 --- a/src/web/app/common/scripts/parse-search-query.ts +++ b/src/web/app/common/scripts/parse-search-query.ts @@ -22,6 +22,9 @@ export default function(qs: string) { case 'media': q['media'] = value == 'null' ? null : value == 'true'; break; + case 'poll': + q['poll'] = value == 'null' ? null : value == 'true'; + break; case 'until': case 'since': // YYYY-MM-DD |