Skip to content

Commit 3be61a9

Browse files
authored
Restore natural sort
1 parent 32d0534 commit 3be61a9

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

SequenceAnalysis/src/org/labkey/sequenceanalysis/query/SequenceAnalysisCustomizer.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,15 @@ public void customize(TableInfo tableInfo)
5353
{
5454
LDKService.get().getDefaultTableCustomizer().customize(ti);
5555

56-
if (tableInfo.getName().equalsIgnoreCase(SequenceAnalysisSchema.TABLE_OUTPUTFILES))
56+
if (tableInfo.getName().equalsIgnoreCase(SequenceAnalysisSchema.TABLE_REF_NT_SEQUENCES))
57+
{
58+
LDKService.get().applyNaturalSort(ti, "name");
59+
}
60+
else if (tableInfo.getName().equalsIgnoreCase(SequenceAnalysisSchema.TABLE_INSTRUMENT_RUNS))
61+
{
62+
LDKService.get().applyNaturalSort(ti, "name");
63+
}
64+
else if (tableInfo.getName().equalsIgnoreCase(SequenceAnalysisSchema.TABLE_OUTPUTFILES))
5765
{
5866
LaboratoryService.get().getLaboratoryTableCustomizer().customize(tableInfo);
5967

@@ -283,4 +291,4 @@ public void renderGridCellContents(RenderContext ctx, HtmlWriter out)
283291
};
284292
}
285293
}
286-
}
294+
}

0 commit comments

Comments
 (0)