Skip to content

Commit 22a0beb

Browse files
committed
fix DISS_sales_restriction code and remove DISS_format_restriction
1 parent bfee22d commit 22a0beb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/main/resources/formats/proquest_umi.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,14 @@
238238
<DISS_file_category th:text="${SUBMISSION_HELPER.categorize(FILE_HELPER.getMimeTypeOfAsset(fv.getValue()))}"></DISS_file_category>
239239
<DISS_file_descr>Supplemental File</DISS_file_descr>
240240
</DISS_attachment>
241-
242241
</DISS_content>
243-
242+
244243
<DISS_restriction th:if="${EMBARGO_CODE == 4}">
245-
<DISS_sales_restriction th:attr="code=${PROQUEST_SALE_RESTRICTION_CODE},remove=${PROQUEST_SALE_RESTRICTION_REMOVE}"/>
246-
<DISS_format_restriction th:attr="code=${PROQUEST_FORMAT_RESTRICTION_CODE},remove=${PROQUEST_FORMAT_RESTRICTION_REMOVE}"/>
244+
<DISS_sales_restriction th:attr="code=1,remove=${PROQUEST_SALE_RESTRICTION_REMOVE}"/>
247245
</DISS_restriction>
248-
246+
<DISS_restriction th:if="${EMBARGO_CODE != 4}">
247+
<DISS_sales_restriction th:attr="code=0,remove=${PROQUEST_SALE_RESTRICTION_REMOVE}"/>
248+
</DISS_restriction>
249+
249250
</DISS_submission>
250251

0 commit comments

Comments
 (0)