replaced all sorting by order with sorting by left

This commit is contained in:
ThaumRystra
2024-04-30 12:51:34 +02:00
parent 9d3f9ce14a
commit e62f536749
40 changed files with 60 additions and 60 deletions

View File

@@ -22,7 +22,7 @@ const insertCreatureFolder = new ValidatedMethod({
owner: userId
}, {
fields: { order: 1 },
sort: { order: -1 }
sort: { left: -1 }
});
if (existingFolders.count() >= 50) {
throw new Meteor.Error('creatureFolders.methods.insert.denied',