Skip to content

Commit f6e0efe

Browse files
Issue 975: Don't include sample types from other folders when exporting (#7546)
1 parent 7edcd47 commit f6e0efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experiment/src/org/labkey/experiment/samples/SampleTypeFolderWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public void write(Container c, FolderExportContext ctx, VirtualFile vf) throws E
7878

7979
Lsid sampleTypeLsid = new Lsid(ExperimentService.get().generateLSID(c, ExpSampleType.class, "export"));
8080
Set<String> sampleTypeLsids = new HashSet<>();
81-
for (ExpSampleType sampleType : SampleTypeService.get().getSampleTypes(c, true))
81+
for (ExpSampleType sampleType : SampleTypeService.get().getSampleTypes(c, false))
8282
{
8383
// ignore the magic sample type that is used for the specimen repository, it is managed by the specimen importer
8484
StudyService ss = StudyService.get();

0 commit comments

Comments
 (0)