FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit f5936ee5 authored by msb's avatar msb
Browse files

id attribute is equivalent to instid

parent eea5cd4b
No related branches found
No related tags found
1 merge request!15The tests require a connection to the live lookup server
......@@ -103,7 +103,7 @@ def get_institutions(user=None):
all_institutions = InstitutionMethods(get_connection()).allInsts(includeCancelled=False)
# filter all the institutions that were created for store year students
all_institutions = list(filter(lambda institution: re.match(r'.*\d{2}$', institution.id) is None,
all_institutions = list(filter(lambda institution: re.match(r'.*\d{2}$', institution.instid) is None,
all_institutions))
if user is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment