diff --git a/ckanext/odsh/helpers.py b/ckanext/odsh/helpers.py index 3cef4f2c222778f991a1c71ce8fd8fdcfb9c1d81..f5e4482f81580ce7edacc1fa5103ad2a889ef9df 100644 --- a/ckanext/odsh/helpers.py +++ b/ckanext/odsh/helpers.py @@ -169,7 +169,8 @@ def odsh_extract_value_from_extras(extras, key): return item['value'] return None -def license_options(existing_license_id=None): + +def presorted_license_options(existing_license_id=None): '''Returns [(l.title, l.id), ...] for the licenses configured to be offered. Always includes the existing_license_id, if supplied. '''