Skip to content

Commit

Permalink
Merge pull request #1965 from TexasDigitalLibrary/1963-list-view-null…
Browse files Browse the repository at this point in the history
…-values

removed mapColumnValues from sort
  • Loading branch information
smutniak authored Oct 3, 2024
2 parents 70307e6 + 5b2352c commit 24ee1d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ public Long mapRow(ResultSet rs, int rowNum) throws SQLException {
idToIndexMap.put(ids.get(i), i);
}

submissions.forEach(submission -> mapColumnValues(submission, submissionListColumns));

submissions.sort((s1, s2) -> {
mapColumnValues(s1, submissionListColumns);
mapColumnValues(s2, submissionListColumns);
int index1 = idToIndexMap.get(s1.getId());
int index2 = idToIndexMap.get(s2.getId());
return Integer.compare(index1, index2);
Expand Down

0 comments on commit 24ee1d7

Please sign in to comment.