Skip to content

Commit

Permalink
Fix default sortBy
Browse files Browse the repository at this point in the history
  • Loading branch information
eschleb committed Mar 1, 2024
1 parent 4187456 commit dafb7a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private JcrDatasourceDefinition getJcrDatasource(
jcrDatasourceDefinition.setWorkspace(workspace);
jcrDatasourceDefinition.setRootPath("/");
jcrDatasourceDefinition.setAllowedNodeTypes(allowedNodeTypes);
jcrDatasourceDefinition.setSortBy(sortBy);
Optional.ofNullable(sortBy).ifPresent(jcrDatasourceDefinition::setSortBy);
return jcrDatasourceDefinition;
}

Expand Down

0 comments on commit dafb7a5

Please sign in to comment.