Skip to content

Commit a949076

Browse files
committed
SXDEDPCXZIC-410 / fix metadata fields order and visibility issues
1 parent 963e53f commit a949076

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ckanext/datavic_odp_theme/templates/scheming/package/resource_read.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ <h2>{{ _('Data Dictionary') }}</h2>
101101
or not res.filesize or res.filesize == "0" %}
102102
{% else %}
103103
{%- if field.field_name not in exclude_fields
104-
and field.display_snippet is not none -%}
104+
and field.display_snippet is not none
105+
and res[field.field_name] -%}
105106
<tr>
106107
<th scope="row">
107108
{{- h.scheming_language_text(field.label) -}}

0 commit comments

Comments
 (0)