Skip to content

Commit

Permalink
fixed a small issue where the org dropdown was being populated by sta…
Browse files Browse the repository at this point in the history
…te due to incorrect index (#305)

Co-authored-by: Chandra Y <[email protected]>
  • Loading branch information
happycodemonkey and chandra-tacc authored Sep 6, 2024
1 parent ce449b1 commit b7822f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apcd_cms/src/apps/admin_regis_table/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b7822f5

Please sign in to comment.