From a4c38c96e655dabfb7b2f16c23b5ebf5c2e53383 Mon Sep 17 00:00:00 2001 From: Sam Lau Date: Thu, 6 Jun 2024 14:29:54 +0000 Subject: [PATCH] Bug 37044: Added library branch to SCO OPAC message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch simply adds the correct branch at the end of an OPAC message on the SCO page. To Test: 1) From the staff interface, click on a patron and add an OPAC message to their account. 2) Log into the SCO with this patron. (http://localhost:8080/cgi-bin/koha/sco/sco-main.pl) 3) Notice how in the "Messages for you" at the top, you will see the message, however, at the timestamp, it says something like "Written on 06/06/2024 by " w/o listing the library that sent it. 4) Apply patch 5) Log back into SCO module 6) Note that now in the message timestamp, it correctly lists the library that sent the message. 7) Sign-off Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer (cherry picked from commit 4801037abe0f8d294eb03503c2b5a275ed06f62a) Signed-off-by: Lucas Gass (cherry picked from commit da490f117af20f4307d2c62e01bc1db7bc0b7695) Signed-off-by: Fridolin Somers Signed-off-by: wainuiwitikapark (cherry picked from commit b70ac8205a89154565302d76e308b440c060f328) Signed-off-by: Frédéric Demians --- koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt index 2e94b64efe..791b60f4a2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -5,6 +5,7 @@ [% USE AudioAlerts %] [% USE To %] [% USE Price %] +[% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] Self checkout › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] -- 2.39.5