mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
FR: Performer Age Slider (#6267)
- Add SidebarAgeFilter component with age presets (18-25, 25-35, 35-45, 45-60, 60+) --------- Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -79,6 +79,9 @@ const displayModeOptions = [
|
||||
DisplayMode.Tagger,
|
||||
];
|
||||
|
||||
export const PerformerAgeCriterionOption =
|
||||
createMandatoryNumberCriterionOption("performer_age");
|
||||
|
||||
export const DurationCriterionOption =
|
||||
createDurationCriterionOption("duration");
|
||||
|
||||
@@ -113,7 +116,7 @@ const criterionOptions = [
|
||||
PerformerTagsCriterionOption,
|
||||
PerformersCriterionOption,
|
||||
createMandatoryNumberCriterionOption("performer_count"),
|
||||
createMandatoryNumberCriterionOption("performer_age"),
|
||||
PerformerAgeCriterionOption,
|
||||
PerformerFavoriteCriterionOption,
|
||||
// StudioTagsCriterionOption,
|
||||
StudiosCriterionOption,
|
||||
|
||||
Reference in New Issue
Block a user