From 5944ca0a3261e80fb5ac038720d4943bb9457bf8 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Fri, 7 Jan 2011 20:34:29 +0000 Subject: [PATCH] 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. --- .../individual/ObjectPropertyTemplateModel.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/ObjectPropertyTemplateModel.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/ObjectPropertyTemplateModel.java index 07ea1d1ce..e12a072fa 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/ObjectPropertyTemplateModel.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/ObjectPropertyTemplateModel.java @@ -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) { - // break; - //} + // 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(); }