mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Cards, CustomFields sorted alphabetically #3517
- last fix didn't work and disabled alphabetic sorting - also works with linked cards
This commit is contained in:
parent
81fdc9a865
commit
c0b9ef5990
1 changed files with 1 additions and 3 deletions
|
@ -724,9 +724,7 @@ Cards.helpers({
|
|||
definition,
|
||||
};
|
||||
});
|
||||
if (ret.definition !== undefined) {
|
||||
ret.sort((a, b) => a.definition.name.localeCompare(b.definition.name));
|
||||
}
|
||||
ret.sort((a, b) => a.definition.name !== undefined && b.definition.name !== undefined && a.definition.name.localeCompare(b.definition.name));
|
||||
return ret;
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue