Add missing performer sort options to whitelist (#5129)

Adds career length, measurements and weight.
This commit is contained in:
WithoutPants
2024-08-13 16:13:15 +10:00
committed by GitHub
parent ecb53cee55
commit a94bf29b34
2 changed files with 6 additions and 0 deletions

View File

@@ -710,6 +710,7 @@ func (qb *PerformerStore) sortByLastPlayedAt(direction string) string {
var performerSortOptions = sortOptions{
"birthdate",
"career_length",
"created_at",
"galleries_count",
"height",
@@ -717,6 +718,7 @@ var performerSortOptions = sortOptions{
"images_count",
"last_o_at",
"last_played_at",
"measurements",
"name",
"o_counter",
"penis_length",
@@ -726,6 +728,7 @@ var performerSortOptions = sortOptions{
"scenes_count",
"tag_count",
"updated_at",
"weight",
}
func (qb *PerformerStore) getPerformerSort(findFilter *models.FindFilterType) (string, error) {