Project

General

Profile

Revision ad53bf18

IDad53bf18f565fc849add9ac1119dee104d1aab65
Parent 633a72e4
Child 6ed17427, 135547e5

Added by Katja Luther over 2 years ago

ref #7643: use freetext for bibliographic short citation

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/cdmLight/CdmLightClassificationExport.java
1505 1505
            csvLine[table.getIndex(CdmLightExportTable.SERIES_PART)] = reference.getSeriesPart();
1506 1506
            csvLine[table.getIndex(CdmLightExportTable.VOLUME)] = reference.getVolume();
1507 1507
            csvLine[table.getIndex(CdmLightExportTable.YEAR)] = reference.getYear();
1508

  
1508 1509
            if ( reference.getAuthorship() != null){
1509 1510
                csvLine[table.getIndex(CdmLightExportTable.AUTHORSHIP_TITLE)] = reference.getAuthorship().getTitleCache();
1510 1511
                csvLine[table.getIndex(CdmLightExportTable.AUTHOR_FK)] = getId(state,reference.getAuthorship());
......
1553 1554
            }
1554 1555

  
1555 1556
        }
1556
        if (reference.getYear() != null){
1557
        if (!StringUtils.isBlank(reference.getDatePublished().getFreeText())){
1558
            shortCitation = shortCitation + " (" + reference.getDatePublished().getFreeText() + ")";
1559
        }else if (!StringUtils.isBlank(reference.getYear()) ){
1557 1560
            shortCitation = shortCitation + " (" + reference.getYear() + ")";
1558 1561
        }
1559 1562
        return shortCitation;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)