fix: miscellaneous

This commit is contained in:
pateljannat
2021-05-04 12:47:45 +05:30
parent 8933ca9ac9
commit e931ead270
12 changed files with 101 additions and 72 deletions

View File

@@ -42,7 +42,7 @@ class CommunityMember(Document):
return frappe.db.count(
'LMS Batch Membership', {
'member': self.name,
'member_role': 'Mentor'
'member_type': 'Mentor'
})
def __repr__(self):