ref #7827 Add property path to term loading in term editor
authorPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 22 Oct 2018 06:29:07 +0000 (08:29 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 22 Oct 2018 06:29:07 +0000 (08:29 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/TermEditorInput.java

index d87d15153be2e9e1fc006d32cf58344511aa26a1..d6dca907c7742e6f9d6a9119b2c75790b45803cc 100644 (file)
@@ -69,7 +69,8 @@ public class TermEditorInput extends AbstractDefinedTermEditorInput<DefinedTerm>
                if(vocabularies != null) {
                        vocabularies.clear();
                }
-               List<TermVocabulary<DefinedTermBase>> vocs = CdmStore.getService(IVocabularyService.class).findByTermType(termType, null);
+               List<TermVocabulary<DefinedTermBase>> vocs = CdmStore.getService(IVocabularyService.class).findByTermType(termType,
+                       Arrays.asList("terms"));
                vocabularies.addAll(vocs);
        }