Skip to content

Commit

Permalink
sorterer fradragene fra utledReguleringstpeOgFradrag()
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnav990 committed May 27, 2024
1 parent bc20097 commit 3b5c395
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ fun utledReguleringstypeOgFradrag(
} else {
Reguleringstype.AUTOMATISK
}
reguleringstype to it.flatMap { it.second }
reguleringstype to it.flatMap { it.second }.sortedWith(compareBy<Fradragsgrunnlag> { it.periode.fraOgMed }.thenBy { it.periode.tilOgMed })
}
}

Expand Down

0 comments on commit 3b5c395

Please sign in to comment.