Add includes image choice to advanced search ui.
This commit is contained in:
parent
d78956c0c5
commit
23d67d2100
|
@ -14,7 +14,7 @@ const REGEXP_MIN_POST_COUNT_PREFIX = /^min_post_count:/ig;
|
||||||
const REGEXP_POST_TIME_PREFIX = /^(before|after):/ig;
|
const REGEXP_POST_TIME_PREFIX = /^(before|after):/ig;
|
||||||
const REGEXP_TAGS_REPLACE = /(^(tags?:|#(?=[a-z0-9\-]+::tag))|::tag\s?$)/ig;
|
const REGEXP_TAGS_REPLACE = /(^(tags?:|#(?=[a-z0-9\-]+::tag))|::tag\s?$)/ig;
|
||||||
|
|
||||||
const REGEXP_IN_MATCH = /^in:(posted|watching|tracking|bookmarks|first|pinned|unpinned|wiki|unseen)/ig;
|
const REGEXP_IN_MATCH = /^in:(posted|watching|tracking|bookmarks|first|pinned|unpinned|wiki|unseen|image)/ig;
|
||||||
const REGEXP_SPECIAL_IN_LIKES_MATCH = /^in:likes/ig;
|
const REGEXP_SPECIAL_IN_LIKES_MATCH = /^in:likes/ig;
|
||||||
const REGEXP_SPECIAL_IN_PRIVATE_MATCH = /^in:private/ig;
|
const REGEXP_SPECIAL_IN_PRIVATE_MATCH = /^in:private/ig;
|
||||||
const REGEXP_SPECIAL_IN_SEEN_MATCH = /^in:seen/ig;
|
const REGEXP_SPECIAL_IN_SEEN_MATCH = /^in:seen/ig;
|
||||||
|
@ -36,6 +36,7 @@ export default Em.Component.extend({
|
||||||
{name: I18n.t('search.advanced.filters.pinned'), value: "pinned"},
|
{name: I18n.t('search.advanced.filters.pinned'), value: "pinned"},
|
||||||
{name: I18n.t('search.advanced.filters.unpinned'), value: "unpinned"},
|
{name: I18n.t('search.advanced.filters.unpinned'), value: "unpinned"},
|
||||||
{name: I18n.t('search.advanced.filters.wiki'), value: "wiki"},
|
{name: I18n.t('search.advanced.filters.wiki'), value: "wiki"},
|
||||||
|
{name: I18n.t('search.advanced.filters.images'), value: "image"},
|
||||||
],
|
],
|
||||||
statusOptions: [
|
statusOptions: [
|
||||||
{name: I18n.t('search.advanced.statuses.open'), value: "open"},
|
{name: I18n.t('search.advanced.statuses.open'), value: "open"},
|
||||||
|
|
|
@ -1344,6 +1344,7 @@ en:
|
||||||
seen: I've read
|
seen: I've read
|
||||||
unseen: I've not read
|
unseen: I've not read
|
||||||
wiki: are wiki
|
wiki: are wiki
|
||||||
|
images: includes image
|
||||||
statuses:
|
statuses:
|
||||||
label: Where topics
|
label: Where topics
|
||||||
open: are open
|
open: are open
|
||||||
|
|
Loading…
Reference in New Issue