mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 08:20:12 +01: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,
|
definition,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
if (ret.definition !== undefined) {
|
ret.sort((a, b) => a.definition.name !== undefined && b.definition.name !== undefined && a.definition.name.localeCompare(b.definition.name));
|
||||||
ret.sort((a, b) => a.definition.name.localeCompare(b.definition.name));
|
|
||||||
}
|
|
||||||
return ret;
|
return ret;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue