Fixed bad sorting
This commit is contained in:
parent
091639e740
commit
869c2918a7
@ -128,8 +128,8 @@ function processGame(game) {
|
||||
|
||||
let trimmedTitle = model.title.toLowerCase();
|
||||
toTrim.forEach(trim => {
|
||||
if (trimmedTitle.startsWith(trim)) {
|
||||
trimmedTitle = trimmedTitle.substr(trim.length + 1);
|
||||
if (trimmedTitle.startsWith(trim + " ")) {
|
||||
trimmedTitle = trimmedTitle.substr(trim.length + 2);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user