Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
where receiving message "Datasets with no organization can't be private"
  • Loading branch information
dwcaraway authored and Alex Perfilov committed May 16, 2016
1 parent 127c0c3 commit 52e266d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/templates/package/snippets/package_basic_fields.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
</select>
</div>
</div>
{# private datasets must have an org, so add the owner_org tag in to pass validation #}
{% elif data.owner_org %}
<input type="hidden" name="owner_org" value="{{ data.owner_org }}"/>
{% endif %}

{% if show_visibility_selector %}
Expand Down

0 comments on commit 52e266d

Please sign in to comment.