From efca4adbc774c184479b792c725ed022d3f4c07f 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rero_ils/modules/documents/utils.py b/rero_ils/modules/documents/utils.py index 0447cbad49..a1f7de29b3 100644 --- a/rero_ils/modules/documents/utils.py +++ b/rero_ils/modules/documents/utils.py @@ -15,7 +15,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -"""Blueprint used for loading templates.""" +"""Documents utils.""" from __future__ import absolute_import, print_function @@ -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': ''}