def refresh_members(self): members = UserController.search_user(self.member_query) self.searchMembersCompleted.emit(members)
def search_members(self, search_by='fullname', argument=''): # print({search_by: argument}) members = UserController.search_user({search_by: argument}) self.member_query = {search_by: argument} self.searchMembersCompleted.emit(members)