[components] Add CSV export component for scoredef
authorVincent Michel <vincent.michel@logilab.fr>
Fri, 11 Jan 2013 10:04:25 +0100
changeset 31 4be2388b201b
parent 30 1204303d90bf
child 32 80974a9b8657
[components] Add CSV export component for scoredef
views/components.py
--- a/views/components.py	Fri Jan 11 09:57:59 2013 +0100
+++ b/views/components.py	Fri Jan 11 10:04:25 2013 +0100
@@ -26,6 +26,7 @@
 class CsvFileBox(MedicalExpAbstractDownloadBox):
     __regid__ = 'measure_csvfile'
     __select__ = component.CtxComponent.__select__  & is_instance('Subject', 'Scan',
+                                                                  'ScoreDef',
                                                                   'QuestionnaireRun', 'Answer',
                                                                   'GenomicMeasure', 'Snp')
     title = _('Download CSV')