mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Add Markers Filter (#6270)
This commit is contained in:
@@ -54,6 +54,7 @@ import cx from "classnames";
|
||||
import { RatingCriterionOption } from "src/models/list-filter/criteria/rating";
|
||||
import { SidebarRatingFilter } from "../List/Filters/RatingFilter";
|
||||
import { OrganizedCriterionOption } from "src/models/list-filter/criteria/organized";
|
||||
import { HasMarkersCriterionOption } from "src/models/list-filter/criteria/has-markers";
|
||||
import { SidebarBooleanFilter } from "../List/Filters/BooleanFilter";
|
||||
import {
|
||||
DurationCriterionOption,
|
||||
@@ -333,6 +334,14 @@ const SidebarContent: React.FC<{
|
||||
setFilter={setFilter}
|
||||
sectionID="duration"
|
||||
/>
|
||||
<SidebarBooleanFilter
|
||||
title={<FormattedMessage id="hasMarkers" />}
|
||||
data-type={HasMarkersCriterionOption.type}
|
||||
option={HasMarkersCriterionOption}
|
||||
filter={filter}
|
||||
setFilter={setFilter}
|
||||
sectionID="hasMarkers"
|
||||
/>
|
||||
<SidebarBooleanFilter
|
||||
title={<FormattedMessage id="organized" />}
|
||||
data-type={OrganizedCriterionOption.type}
|
||||
|
||||
@@ -1135,7 +1135,7 @@
|
||||
"uploading": "Uploading script"
|
||||
},
|
||||
"hasChapters": "Chapters",
|
||||
"hasMarkers": "Has Markers",
|
||||
"hasMarkers": "Markers",
|
||||
"height": "Height",
|
||||
"height_cm": "Height (cm)",
|
||||
"help": "Help",
|
||||
|
||||
Reference in New Issue
Block a user