Skip to content

Commit

Permalink
Revert "Fix get_orgs_form to return all orgs"
Browse files Browse the repository at this point in the history
  • Loading branch information
adodge-bcg authored Dec 30, 2024
1 parent 394809d commit 266aafc
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 @@ -367,7 +367,7 @@ def get_edc_org(org_id):
def get_orgs_form(field = None):
"""Designed to get available orgs for scheming fields as parameters cannot be defined in choices_helper functions"""
orgs = []
for org in ckan.lib.helpers.organizations_available('view_dataset'):
for org in ckan.lib.helpers.organizations_available('create_dataset'):
orgs.append({
'value': org['id'],
'label': org['display_name']
Expand Down

0 comments on commit 266aafc

Please sign in to comment.