natural numeric sort for tag and disable disc/track total for nd track filter

This commit is contained in:
Kendall Garner
2026-01-18 17:19:30 -08:00
parent 2dd83b111f
commit 45df497ee6
2 changed files with 10 additions and 6 deletions
@@ -1251,7 +1251,9 @@ export const JellyfinController: InternalControllerEndpoint = {
tags.push({
name: 'Tags',
options: res.body.Tags.sort((a, b) =>
a.toLocaleLowerCase().localeCompare(b.toLocaleLowerCase()),
a
.toLocaleLowerCase()
.localeCompare(b.toLocaleLowerCase(), undefined, { numeric: true }),
).map((tag) => ({ id: tag, name: tag })),
});
}