Fixed template to exclude searchable when private false

This commit is contained in:
Luca Frosini 2024-11-05 12:55:28 +01:00
parent e84973f816
commit 005791f3c1
3 changed files with 6 additions and 0 deletions

View File

@ -14,7 +14,9 @@
</#if>
"version" : "${version?string["0.0"]}",
"private": ${include_sensitive?c},
<#if include_sensitive>
"searchable": "True", <#-- If the Record is private we have to set searchable to True see https://support.d4science.org/issues/27922 -->
</#if>
"extras": [
<#-- START of Common Metadata -->
<@metadata key="GRSF Type" namespace=identity_namespace var=grsf_type?capitalize />

View File

@ -14,7 +14,9 @@
</#if>
"version" : "${version?string["0.0"]}",
"private": ${include_sensitive?c},
<#if include_sensitive>
"searchable": "True", <#-- If the Record is private we have to set searchable to True see https://support.d4science.org/issues/27922 -->
</#if>
"extras": [
<#-- START of Common Metadata -->
<@metadata key="GRSF Type" namespace=identity_namespace var=grsf_type?capitalize />

View File

@ -14,7 +14,9 @@
</#if>
"version" : "${version?string["0.0"]}",
"private": ${include_sensitive?c},
<#if include_sensitive>
"searchable": "True", <#-- If the Record is private we have to set searchable to True see https://support.d4science.org/issues/27922 -->
</#if>
"extras": [
<#-- START of Common Metadata -->
<@metadata key="GRSF Type" namespace=identity_namespace var="Traceability Unit" />