We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2db1625 commit db8791eCopy full SHA for db8791e
1 file changed
src/main/java/edu/harvard/iq/dataverse/Dataset.java
@@ -82,7 +82,7 @@
82
"WHERE o.dtype = 'Dataset' " +
83
"AND (? = false OR o.indexTime IS NULL) " +
84
"GROUP BY o.id " +
85
- "ORDER BY COUNT(f.id) ASC, o.id",
+ "ORDER BY numfiles ASC, id",
86
resultSetMapping = "DatasetIdMapping"
87
)
88
@SqlResultSetMapping(
0 commit comments