Import normalizer: offline tool to normalize the raw archive spreadsheets #663
@@ -802,7 +802,7 @@ public class DocumentService {
|
||||
return transcriptionBlockQueryService.getCompletionStats(docIds);
|
||||
}
|
||||
|
||||
Sort resolveSort(DocumentSort sort, String dir) {
|
||||
private Sort resolveSort(DocumentSort sort, String dir) {
|
||||
Sort.Direction direction = "ASC".equalsIgnoreCase(dir) ? Sort.Direction.ASC : Sort.Direction.DESC;
|
||||
if (sort == null || sort == DocumentSort.DATE || sort == DocumentSort.RELEVANCE) {
|
||||
// Undated documents (null documentDate) must order last regardless of
|
||||
|
||||
Reference in New Issue
Block a user