Skip to content

Commit

Permalink
Add new performer sort options (#374)
Browse files Browse the repository at this point in the history
Adds new sort options for `v0.27.0`

Ref: stashapp/stash#5129
  • Loading branch information
damontecres authored Aug 25, 2024
1 parent f40faaf commit 5ac0475
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ val PERFORMER_SORT_OPTIONS =
SortOption("rating", R.string.stashapp_rating),
SortOption("scenes_count", R.string.stashapp_scene_count),
SortOption("tag_count", R.string.stashapp_tag_count),
SortOption("career_length", R.string.stashapp_career_length, Version.V0_27_0),
SortOption("measurements", R.string.stashapp_measurements, Version.V0_27_0),
SortOption("weight", R.string.stashapp_weight, Version.V0_27_0),
)

val MARKER_SORT_OPTIONS =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ data class Version(
private val VERSION_REGEX = Regex("v?(\\d+)\\.(\\d+)\\.(\\d+)(-(\\d+)-g([a-zA-Z0-9]+))?")
val V0_25_0 = fromString("v0.25.0")
val V0_26_0 = fromString("v0.26.0")
val V0_27_0 = fromString("v0.27.0")

val MINIMUM_STASH_VERSION = V0_25_0

Expand Down

0 comments on commit 5ac0475

Please sign in to comment.