Hiding low-entropy photos from actor page. Fixed actors filter tab spacing. Fixed entity logo stretching on compact scene page.
This commit is contained in:
@@ -183,6 +183,7 @@ export function sortActorsByGender(actors, context = {}) {
|
||||
const genderActors = ['transsexual', 'female', undefined, null, 'male'].flatMap((gender) => alphaActors.filter((actor) => actor.gender === gender));
|
||||
|
||||
const titleSlug = slugify(context.title);
|
||||
|
||||
const titleActors = titleSlug ? genderActors.sort((actorA, actorB) => {
|
||||
const actorASlug = actorA.slug.split('-')[0];
|
||||
const actorBSlug = actorB.slug.split('-')[0];
|
||||
|
||||
Reference in New Issue
Block a user