Add Character to "Other" section in term editor
authorPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 20 Sep 2019 10:00:45 +0000 (12:00 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 20 Sep 2019 10:08:05 +0000 (12:08 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/e4/DefinedTermMenuE4.java

index ffff2e297e93a31f27a5ad4e7d7ac06ef9f22b6f..115f16b3f0a2dfd22a306596061f67d06c7686a4 100644 (file)
@@ -68,7 +68,8 @@ public class DefinedTermMenuE4 {
                 }
                 // if term type has a parent, do not add it
                 // it will be added in the recursive call
-                if(tt.getKindOf() == null) {
+                if(tt.getKindOf() == null
+                        || tt.equals(TermType.Character)) {// special case for Character because subtype of Feature
                     addChildTermsToMenuManager(otherMenu.getChildren(), tt);
                 }
             }