" type="text/css"/> " type="text/css"/>

Query results

${search.getNumResults()} samplesamples found
<% def resultFields = search.getShowableResultFields(); def extraFields = search.getShowableResultFieldNames(resultFields); %>
Name Study ${fieldName}
<% /* The value of this checkbox will be moved to the form (under this table) with javascript. This way the user can select items from multiple pages of the paginated result list correctly. See also http://datatables.net/examples/api/form.html and advancedQueryResults.js */ %> ${fieldValue(bean: sampleInstance, field: "name")} ${sampleInstance?.parent?.title} <% def fieldValue = resultFields[ sampleInstance.id ]?.get( fieldName ); if( fieldValue ) { if( fieldValue instanceof Collection ) { fieldValue = fieldValue.collect { it.toString() }.findAll { it }.unique().join( ', ' ); } else { fieldValue = fieldValue.toString(); } } else { fieldValue = ""; } %> ${fieldValue}