Changeset 5003
- Timestamp:
- Oct 4, 2018, 10:52:04 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/GenotypeServlet.java
r4982 r5003 1058 1058 Restriction byName = Restrictions.like(Hql.property("name"), Expressions.string(item.getName()+".%")); 1059 1059 1060 // Find child samples if the item is a sample (eg. specimen) 1061 if (item.getType() == Item.SAMPLE) 1062 { 1063 ItemQuery<Sample> sampleQuery = Sample.getQuery(); 1064 sampleQuery.setIncludes(Reggie.INCLUDE_IN_CURRENT_PROJECT); 1065 sampleQuery.restrict(byName); 1066 allItems.addAll(sampleQuery.list(dc)); 1067 } 1068 1060 1069 // Find child extracts 1061 1070 ItemQuery<Extract> extractQuery = Extract.getQuery();
Note: See TracChangeset
for help on using the changeset viewer.