NIHVIVO-1339 In relatedRole view, display role type label if role has no label (for investigator roles and children).

NIHVIVO-1334 Remove terms from SELECT clause that don't get displayed (e.g., dateTimeInterval) but are used to get other terms.
This commit is contained in:
rjy7 2011-01-07 20:34:29 +00:00
parent b49744dfa0
commit 5944ca0a32

View file

@ -137,11 +137,11 @@ public abstract class ObjectPropertyTemplateModel extends PropertyTemplateModel
// If the first statement has a null end datetime, all subsequent statements in the list also do,
// so there is nothing to reorder.
// NB This assumption is FALSE if the query orders by subclass but the property is not collated.
// This happens because all the queries are written with a subclass variable to support
// collation if switched on in the back end.
//if (statements.indexOf(stmt) == 0) {
// This happens when a query is written with a subclass variable to support turning on collation
// in the back end.
// if (statements.indexOf(stmt) == 0) {
// break;
//}
// }
tempList.add(stmt);
iterator.remove();
}