From b32ea08b19195a0b10337f24f070c82c8a0398a7 Mon Sep 17 00:00:00 2001
From: Patrick Plitzner
Date: Mon, 22 Oct 2018 08:29:07 +0200
Subject: [PATCH] ref #7827 Add property path to term loading in term editor
---
.../taxeditor/editor/definedterm/input/TermEditorInput.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/TermEditorInput.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/TermEditorInput.java
index d87d15153..d6dca907c 100644
--- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/TermEditorInput.java
+++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/TermEditorInput.java
@@ -69,7 +69,8 @@ public class TermEditorInput extends AbstractDefinedTermEditorInput
if(vocabularies != null) {
vocabularies.clear();
}
- List> vocs = CdmStore.getService(IVocabularyService.class).findByTermType(termType, null);
+ List> vocs = CdmStore.getService(IVocabularyService.class).findByTermType(termType,
+ Arrays.asList("terms"));
vocabularies.addAll(vocs);
}
--
2.34.1