Skip to content

Commit

Permalink
Set AbstractKapuaQuery.defaultSortCriteria to KapuaEntityAttributes.E…
Browse files Browse the repository at this point in the history
…NTITY_ID

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Apr 6, 2021
1 parent 449d1f7 commit 6e22489
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void setSortCriteria(KapuaSortCriteria sortCriteria) {

@Override
public KapuaSortCriteria getDefaultSortCriteria() {
return fieldSortCriteria(KapuaEntityAttributes.CREATED_ON, SortOrder.ASCENDING);
return fieldSortCriteria(KapuaEntityAttributes.ENTITY_ID, SortOrder.ASCENDING);
}

@Override
Expand Down

0 comments on commit 6e22489

Please sign in to comment.