From de760596531c0d1e457eb5511e2e8e42cff6037f Mon Sep 17 00:00:00 2001
From: anonymous <anonymous>
Date: Wed, 20 Feb 2019 12:00:37 +0100
Subject: [PATCH] fix

---
 ckanext/odsh/helpers.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ckanext/odsh/helpers.py b/ckanext/odsh/helpers.py
index 3cef4f2c..f5e4482f 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.
     '''
-- 
GitLab