protected static final String STANDARD_LIST_URI_FIELD = CollectionSpaceClient.COLLECTIONSPACE_CORE_URI;\r
protected static final String STANDARD_LIST_UPDATED_AT_FIELD = CollectionSpaceClient.COLLECTIONSPACE_CORE_UPDATED_AT;\r
protected static final String STANDARD_LIST_WORKFLOW_FIELD = CollectionSpaceClient.COLLECTIONSPACE_CORE_WORKFLOWSTATE;\r
- protected static final String STANDARD_LIST_MARK_RT_FIELD = "relTo";\r
+ protected static final String STANDARD_LIST_MARK_RT_FIELD = "related";\r
\r
@Override\r
public AbstractCommonList getCommonPartList() {\r
item.put(STANDARD_LIST_CSID_FIELD, id);\r
if(markRtSbj!=null) {\r
String relationClause = RelationsUtils.buildWhereClause(markRtSbj, null, null, id, null);\r
- QueryContext queryContext = new QueryContext(sc, relationClause);\r
+ String whereClause = relationClause + IQueryManager.SEARCH_QUALIFIER_AND + \r
+ NuxeoUtils.buildWorkflowNotDeletedWhereClause();\r
+ QueryContext queryContext = new QueryContext(sc, whereClause);\r
queryContext.setDocType(IRelationsManager.DOC_TYPE);\r
String query = NuxeoUtils.buildNXQLQuery(sc, queryContext);\r
// Search for 1 relation that matches. 1 is enough to fail the filter\r