changeset 43:f863fe7dc4e5

really show all projects in getAllProjectsAndTagsCSV.
author casties
date Tue, 05 Nov 2013 13:56:17 +0100
parents b1f5d42bb93b
children a30307377ed9
files MPIWGThesaurus.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MPIWGThesaurus.py	Thu Oct 31 14:18:08 2013 +0100
+++ b/MPIWGThesaurus.py	Tue Nov 05 13:56:17 2013 +0100
@@ -328,7 +328,7 @@
         return ret
     
 
-    def getAllProjectsAndTagsAsCSV(self,archived=1,RESPONSE=None):
+    def getAllProjectsAndTagsAsCSV(self,active=0,archived=0,RESPONSE=None):
         """alle projekte auch die nicht getaggten"""
         retList=[]
         headers=['projectId','sortingNumber','projectName','scholars','startedAt','completedAt','lastChangeThesaurusAt','lastChangeProjectAt','projectCreatedAt','persons','objects']
@@ -336,7 +336,7 @@
         retList.append("\t".join(headers))
         
         projectTags = self.getProjectsAndTags()
-        projects = self.getMPIWGRoot().getProjectFolder().getProjectsAsList(archived=archived)
+        projects = self.getMPIWGRoot().getProjectFolder().getProjectsAsList(active=active,archived=archived)
         for proj in projects:
             p_name = proj.getLabel()
             retProj=[]