Project

General

Profile

Revision 0ef1a15e

ID0ef1a15ed1a417160deec0b112f36a12de7363dc
Parent 4402420e
Child d969ee7a

Added by Andreas Müller over 1 year ago

fix #7767 fix wrong TagEnum for sec detail

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/taxon/TaxonBaseDefaultCacheStrategy.java
146 146
        //secMicroReference
147 147
        if (StringUtils.isNotBlank(taxonBase.getSecMicroReference())){
148 148
            tags.add(new TaggedText(TagEnum.separator, ": "));
149
            tags.add(new TaggedText(TagEnum.secReference, taxonBase.getSecMicroReference()));
149
            tags.add(new TaggedText(TagEnum.secMicroReference, taxonBase.getSecMicroReference()));
150 150

  
151 151
        }
152 152
        return tags;
cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/taxon/TaxonBaseShortSecCacheStrategy.java
216 216
                if (StringUtils.isNotBlank(year) && ! authorTags.isEmpty()){
217 217
                    tags.add(new TaggedText(TagEnum.separator, "("));
218 218
                    tags.add(new TaggedText(TagEnum.year, year));
219
                    tags.add(new TaggedText(TagEnum.separator, ")"));
219
                    tags.add(new TaggedText(TagEnum.postSeparator, ")"));
220 220
                }
221 221
            }else{
222 222

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)