From b7822f56fcf52e1bd4e4331f7397c13d6fab95a3 Mon Sep 17 00:00:00 2001 From: Carrie Arnold Date: Fri, 6 Sep 2024 14:10:36 -0500 Subject: [PATCH] fixed a small issue where the org dropdown was being populated by state due to incorrect index (#305) Co-authored-by: Chandra Y --- apcd_cms/src/apps/admin_regis_table/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apcd_cms/src/apps/admin_regis_table/views.py b/apcd_cms/src/apps/admin_regis_table/views.py index af0ad01c..a3cfffb4 100644 --- a/apcd_cms/src/apps/admin_regis_table/views.py +++ b/apcd_cms/src/apps/admin_regis_table/views.py @@ -91,7 +91,7 @@ def getDate(row): associated_entities = [ent for ent in registrations_entities if ent[1] == registration[0]] associated_contacts = [cont for cont in registrations_contacts if cont[1] == registration[0]] registration_table_entries.append(_set_registration(registration, associated_entities, associated_contacts)) - org_name = registration[7] + org_name = registration[5] if org_name not in context['org_options']: context['org_options'].append(org_name)