Project

General

Profile

Revision f4a1c455

IDf4a1c455e50835936c770060a15fcfc5be900cbe
Parent 5a0834fb
Child caea94d1

Added by Andreas Müller over 2 years ago

ref #1606 fix bug in referenceDao.getUuidAndTitleCache

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/reference/ReferenceDaoHibernateImpl.java
104 104
		if (refType != null || pattern != null){
105 105
		    queryString += " WHERE ";
106 106
		    if (refType != null && pattern != null){
107
		        queryString += "r.type = :type OR r.type = :genericType" ;
107
		        queryString += " (r.type = :type OR r.type = :genericType) " ;
108 108
		        queryString += " AND r.titleCache LIKE :pattern";
109 109
		    }
110 110
		}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)