# HG changeset patch # User casties # Date 1383656177 -3600 # Node ID f863fe7dc4e52bf077d177654899aa6e8804c62f # Parent b1f5d42bb93b16fa46f41be51f7ced574df62925 really show all projects in getAllProjectsAndTagsCSV. diff -r b1f5d42bb93b -r f863fe7dc4e5 MPIWGThesaurus.py --- 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=[]