Skip to content

Commit

Permalink
Added comment to describe change
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Hui committed Jun 1, 2023
1 parent b8e2fde commit 783a23c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,7 @@ private List<EbeanMetadataAspect> batchGetUnion(@Nonnull List<AspectKey<URN, ? e
}
}

// added to ensure that duplicate versions still return the LATEST record at the top
sb.append(" ORDER BY createdOn DESC");

final Query<EbeanMetadataAspect> query = _server.findNative(EbeanMetadataAspect.class, sb.toString());
Expand Down

0 comments on commit 783a23c

Please sign in to comment.