You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-09-16 08:56:19 +02:00
Fixing sorting on non-titled cards (#2582)
This commit is contained in:
@@ -186,10 +186,6 @@ function sortCards(cards: Card[], board: Board, activeView: BoardView, usersById
|
||||
Utils.log(`Sort by property: ${template?.name}`)
|
||||
sortedCards = sortedCards.sort((a, b) => {
|
||||
// Always put cards with no titles at the bottom, regardless of sort
|
||||
if (!a.title || !b.title) {
|
||||
return titleOrCreatedOrder(a, b)
|
||||
}
|
||||
|
||||
let aValue = a.fields.properties[sortPropertyId] || ''
|
||||
let bValue = b.fields.properties[sortPropertyId] || ''
|
||||
|
||||
|
Reference in New Issue
Block a user