Skip to content

Commit 0eaa037

Browse files
committed
updating affiliations
1 parent bbdc1e7 commit 0eaa037

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/ODM2/services/readService.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def __init__(self, person, org):
3535
self.organization = "(" + org.OrganizationCode + ") " +\
3636
org.OrganizationName
3737

38-
def __repr__(self):
39-
return str(self.name) + " " + str(self.organization)
38+
#def __repr__(self):
39+
# return str(self.name) + " " + str(self.organization)
4040

4141
class ReadODM2( serviceBase ):
4242
'''
@@ -143,7 +143,7 @@ def getCVMethodTypes(self):
143143
# Core
144144
# ################################################################################
145145

146-
def getDetailedAffiliationInfo(self, affiliationID):
146+
def getDetailedAffiliationInfo(self):
147147
q = self._session.query(Affiliations, People, Organizations)\
148148
.filter(Affiliations.PersonID==People.PersonID)\
149149
.filter(Affiliations.OrganizationID==Organizations.OrganizationID)

0 commit comments

Comments
 (0)