Skip to content

Commit

Permalink
Merge pull request #912 from ckan/912-org-title-dataset-form
Browse files Browse the repository at this point in the history
Display title of organisations on the add dataset form
  • Loading branch information
joetsoi committed Nov 5, 2014
2 parents 3b16ca7 + 2c01df8 commit f6b2d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/package/snippets/package_basic_fields.html
Expand Up @@ -75,7 +75,7 @@
{% for organization in organizations_available %}
{# get out first org from users list only if there is not an existing org #}
{% set selected_org = (existing_org and existing_org == organization.id) or (not existing_org and not data.id and organization.id == organizations_available[0].id) %}
<option value="{{ organization.id }}" {% if selected_org %} selected="selected" {% endif %}>{{ organization.name }}</option>
<option value="{{ organization.id }}" {% if selected_org %} selected="selected" {% endif %}>{{ organization.display_name }}</option>
{% endfor %}
</select>
</div>
Expand Down

0 comments on commit f6b2d10

Please sign in to comment.