From 52e266df4a6adccca17af436c102a98be82edc27 Mon Sep 17 00:00:00 2001 From: dwcaraway Date: Fri, 15 Nov 2013 07:33:33 -0500 Subject: [PATCH] Fix for https://github.com/GSA/enterprise-data-inventory/issues/35 where receiving message "Datasets with no organization can't be private" --- ckan/templates/package/snippets/package_basic_fields.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ckan/templates/package/snippets/package_basic_fields.html b/ckan/templates/package/snippets/package_basic_fields.html index 8d948e09c59..186ceba32fc 100644 --- a/ckan/templates/package/snippets/package_basic_fields.html +++ b/ckan/templates/package/snippets/package_basic_fields.html @@ -81,6 +81,9 @@ + {# private datasets must have an org, so add the owner_org tag in to pass validation #} + {% elif data.owner_org %} + {% endif %} {% if show_visibility_selector %}