Skip to content

Commit

Permalink
Adjust mapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvind-wedoe committed Sep 14, 2023
1 parent 5f35260 commit 3cca654
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class DokumentMapper(
it.getType() != DokumentUnderArbeid.DokumentUnderArbeidType.JOURNALFOERT
}

return dokumenterUnderArbeid.sortedBy { it.opplastet }
return dokumenterUnderArbeid.sortedBy { it.created }
.map { mapToDokumentView(it) } + journalfoerteDokumenterUnderArbeid.map { mapToDokumentView(it) }
.sortedBy { it.journalfoertDokumentReference?.datoOpprettet }
}
Expand Down

0 comments on commit 3cca654

Please sign in to comment.