mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Fix custom formats sorting for quality profiles
This commit is contained in:
@@ -21,7 +21,7 @@ function calcOrder(profileFormatItems) {
|
||||
return b.score - a.score;
|
||||
}
|
||||
|
||||
return a.localeCompare(b.name, undefined, { numeric: true });
|
||||
return a.name.localeCompare(b.name, undefined, { numeric: true });
|
||||
}).map((x) => items[x.format]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user