Skip to content

Commit b7822f5

Browse files
fixed a small issue where the org dropdown was being populated by state due to incorrect index (#305)
Co-authored-by: Chandra Y <[email protected]>
1 parent ce449b1 commit b7822f5

File tree

1 file changed

+1
-1
lines changed
  • apcd_cms/src/apps/admin_regis_table

1 file changed

+1
-1
lines changed

apcd_cms/src/apps/admin_regis_table/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def getDate(row):
9191
associated_entities = [ent for ent in registrations_entities if ent[1] == registration[0]]
9292
associated_contacts = [cont for cont in registrations_contacts if cont[1] == registration[0]]
9393
registration_table_entries.append(_set_registration(registration, associated_entities, associated_contacts))
94-
org_name = registration[7]
94+
org_name = registration[5]
9595
if org_name not in context['org_options']:
9696
context['org_options'].append(org_name)
9797

0 commit comments

Comments
 (0)