Skip to content

Commit

Permalink
Fixed: set label as second ordering column when ordering by content type
Browse files Browse the repository at this point in the history
  • Loading branch information
GPortas committed Oct 16, 2023
1 parent 3665752 commit e847ed0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ private void applyOrderCriteriaToGetFileMetadatasQuery(JPAQuery<FileMetadata> qu
query.orderBy(fileMetadata.dataFile.filesize.asc());
break;
case Type:
query.orderBy(fileMetadata.dataFile.contentType.asc());
query.orderBy(fileMetadata.dataFile.contentType.asc(), fileMetadata.label.asc());
break;
default:
query.orderBy(fileMetadata.label.asc());
Expand Down

0 comments on commit e847ed0

Please sign in to comment.