diff --git a/src/eke.knowledge/src/eke/knowledge/biomarker.py b/src/eke.knowledge/src/eke/knowledge/biomarker.py index 31351ea6..6e68583e 100644 --- a/src/eke.knowledge/src/eke/knowledge/biomarker.py +++ b/src/eke.knowledge/src/eke/knowledge/biomarker.py @@ -226,7 +226,7 @@ class IBiomarkerBodySystem(IKnowledgeObject, IResearchedObject, IPhasedObject, I ) -class IBodySystemStudy(IKnowledgeObject, IResearchedObject): +class IBodySystemStudy(IKnowledgeObject, IResearchedObject, IPhasedObject): '''Study-specific information on a biomarker's effects on a single organ.''' protocol = RelationChoice( title=_(u'Study'), @@ -300,6 +300,10 @@ def updatePhases(context, event): phase = biomarkerBodySystem.phase if phase is not None and phase: phases.add(phase) + for studyObjID, bodySystemStudy in biomarkerBodySystem.contentItems(): + phase = bodySystemStudy.phase + if phase is not None and phase: + phases.add(phase) biomarker.phases = list(phases) biomarker.reindexObject(idxs=['phases']) diff --git a/src/eke.knowledge/src/eke/knowledge/browser/templates/biomarkerfields.pt b/src/eke.knowledge/src/eke/knowledge/browser/templates/biomarkerfields.pt index 08bc2ed4..a1c81c75 100644 --- a/src/eke.knowledge/src/eke/knowledge/browser/templates/biomarkerfields.pt +++ b/src/eke.knowledge/src/eke/knowledge/browser/templates/biomarkerfields.pt @@ -107,6 +107,11 @@ i18n:translate='bm_noAbstractText' class='discreet'> No abstract available.
+
+
+ 45
+
You can lorem my ipsum any time, sit amet.