Project

General

Profile

« Previous | Next » 

Revision d71868a2

Added by Andreas Müller about 3 years ago

ref #9327 add sec source to TaxonBase (with few open issues)

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonDaoHibernateImpl.java
74 74
import eu.etaxonomy.cdm.persistence.query.OrderHint;
75 75
import eu.etaxonomy.cdm.persistence.query.TaxonTitleType;
76 76

  
77

  
78 77
/**
79 78
 * @author a.mueller
80 79
 * @since 24.11.2008
......
183 182
        }
184 183

  
185 184
        if (sec != null && sec.getId() != 0) {
186
            criteria.add(Restrictions.eq("sec", sec ) );
185
            criteria.add(Restrictions.eq("secSource.citation", sec ) );
187 186
        }
188 187

  
189 188
        if (queryString != null) {

Also available in: Unified diff