Skip to content

Commit

Permalink
fix(openfeedback): ordering comments by date creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
GerardPaligot committed Nov 8, 2023
1 parent 995da61 commit 4f9f8fc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class OpenFeedbackFirestore(
}
}
?.flatten()
?.sortedBy { it.second.createdAt }
?.associate { it.first to it.second }
?: emptyMap()
)
Expand Down

0 comments on commit 4f9f8fc

Please sign in to comment.