From e32738051eac40a9ddef74def199be132050bdca Mon Sep 17 00:00:00 2001 From: Peter Weber Date: Tue, 18 May 2021 17:31:50 +0200 Subject: [PATCH] documents: update the publication statement text * Closes #1926. * Adds the `date` part that is missing to the creation of the publication statement text (provision activity). Co-Authored-by: Peter Weber --- rero_ils/modules/documents/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rero_ils/modules/documents/utils.py b/rero_ils/modules/documents/utils.py index 0447cbad49..fee85fad96 100644 --- a/rero_ils/modules/documents/utils.py +++ b/rero_ils/modules/documents/utils.py @@ -96,7 +96,8 @@ def publication_statement_text(provision_activity): """Create publication statement from place, agent and date values.""" punctuation = { 'bf:Place': ' ; ', - 'bf:Agent': ', ' + 'bf:Agent': ', ', + 'Date': ', ' } statement_with_language = {'default': ''}