From d0a4c47d1359fd05d5f905417a27531d60ccc55f Mon Sep 17 00:00:00 2001 From: Andrew Lindesay Date: Thu, 15 Oct 2020 23:23:29 +1300 Subject: [PATCH] fix for ordering on the user rating stabilities dump --- .../reference/job/ReferenceDumpExportJobRunner.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/haikudepotserver-core/src/main/java/org/haiku/haikudepotserver/reference/job/ReferenceDumpExportJobRunner.java b/haikudepotserver-core/src/main/java/org/haiku/haikudepotserver/reference/job/ReferenceDumpExportJobRunner.java index 3d0cb86d..0ba257bb 100644 --- a/haikudepotserver-core/src/main/java/org/haiku/haikudepotserver/reference/job/ReferenceDumpExportJobRunner.java +++ b/haikudepotserver-core/src/main/java/org/haiku/haikudepotserver/reference/job/ReferenceDumpExportJobRunner.java @@ -171,6 +171,7 @@ private DumpExportReference createDumpExportReference(ReferenceDumpExportJobSpec .stream() .map(urs -> { DumpExportReferenceUserRatingStability derurs = new DumpExportReferenceUserRatingStability(); + derurs.setOrdering(urs.getOrdering().longValue()); derurs.setCode(urs.getCode()); derurs.setName( messageSource.getMessage( @@ -184,4 +185,4 @@ private DumpExportReference createDumpExportReference(ReferenceDumpExportJobSpec return dumpExportReference; } -} \ No newline at end of file +}