From f2a09677a5d268334eb1adc26d0367edae5bb00a Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 29 Oct 2023 15:20:03 +0000 Subject: [PATCH] Bug 35185: Remove is_html flag from sample notices that are plain text Some notices had the is_html flag for new installations, but actually didn't include any HTML formatting. These should be plain text to have the line breaks behave as expected. This updates: * 2FA_OTP_TOKEN * OPAC_REG_VERIFY We cannot do a database update here, as libraries will have changed and updated these. So this is only for new installations. To test: * Apply patch * reset_all (create a new sample database) * Verify that the HTML checkbox is not set for these notices * Verify they appear as plain text notices, not including HTML tags Signed-off-by: David Nind Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Tomas Cohen Arazi (cherry picked from commit c6284eed812eb4de52738e845b662e199f58fd1a) Signed-off-by: Fridolin Somers (cherry picked from commit 3cacb76e8e519521ad975a00720034cb7de9c127) Signed-off-by: Pedro Amorim --- installer/data/mysql/en/mandatory/sample_notices.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index 5ea318e772..de04107c9d 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -1139,7 +1139,7 @@ tables: code: OPAC_REG_VERIFY branchcode: "" name: "OPAC self-registration verification email" - is_html: 1 + is_html: 0 title: "Verify your account" message_transport_type: email lang: default @@ -1267,7 +1267,7 @@ tables: code: 2FA_OTP_TOKEN branchcode: "" name: "two-authentication step token" - is_html: 1 + is_html: 0 title: "Two-authentication token" message_transport_type: email lang: default -- 2.20.1