summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2017-12-21 07:57:31 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2017-12-21 07:57:31 +0900
commitaff76a57c0d123b992d7284faba6c5a146985246 (patch)
tree5addcea91e7a31bf127266b505b01947fe0b6708 /src/web
parentFix bug (diff)
downloadmisskey-aff76a57c0d123b992d7284faba6c5a146985246.tar.gz
misskey-aff76a57c0d123b992d7284faba6c5a146985246.tar.bz2
misskey-aff76a57c0d123b992d7284faba6c5a146985246.zip
:v:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/common/scripts/parse-search-query.ts3
-rw-r--r--src/web/docs/search.ja.pug8
2 files changed, 11 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
diff --git a/src/web/docs/search.ja.pug b/src/web/docs/search.ja.pug
index d46e5f4a04..41e443d746 100644
--- a/src/web/docs/search.ja.pug
+++ b/src/web/docs/search.ja.pug
@@ -54,6 +54,14 @@ section
br
| null ... 特に限定しない(デフォルト)
tr
+ td poll
+ td
+ | true ... 投票が添付されている投稿に限定。
+ br
+ | false ... 投票が添付されていない投稿に限定。
+ br
+ | null ... 特に限定しない(デフォルト)
+ tr
td until
td 上限の日時。(YYYY-MM-DD)
tr