Skip to content

Commit

Permalink
Update ckanext/bcgov/util/helpers.py
Browse files Browse the repository at this point in the history
Co-authored-by: adodge-bcg <[email protected]>
  • Loading branch information
gurman10 and adodge-bcg authored Jan 3, 2025
1 parent 93b4bb7 commit 70fe149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/bcgov/util/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def get_orgs_form(field = None):
}
all_orgs_data = (organization_or_group_list_related(context, data_dict))

orgs = [{'id': org['id'], 'display_name': org['display_name']} for org in all_orgs_data]
orgs = [{'value': org['id'], 'label': org['display_name']} for org in all_orgs_data]

return orgs

Expand Down

0 comments on commit 70fe149

Please sign in to comment.