Revision 891d65aa
Added by Andreas Müller almost 8 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonDaoHibernateImpl.java | ||
---|---|---|
1250 | 1250 |
} |
1251 | 1251 |
|
1252 | 1252 |
if(authorship == null) { |
1253 |
criteria.add(Restrictions.isEmpty("name.authorshipCache"));
|
|
1253 |
criteria.add(Restrictions.eq("name.authorshipCache", ""));
|
|
1254 | 1254 |
} else if(!authorship.equals("*")) { |
1255 | 1255 |
criteria.add(Restrictions.eq("name.authorshipCache", authorship)); |
1256 | 1256 |
} |
Also available in: Unified diff
#5958 fix failing tests