Skip to content

Commit

Permalink
Merge pull request #10017 from IQSS/fix/integration_test_getversionfiles
Browse files Browse the repository at this point in the history
Fix Datasets API getVersionFiles endpoint content type filtering
  • Loading branch information
kcondon authored Oct 16, 2023
2 parents 2aa71fb + e847ed0 commit 1889394
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 1889394

Please sign in to comment.