Bugzilla – Attachment 167550 Details for
Bug 37044
OPAC message from SCO missing library branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37044: Added library branch to SCO OPAC message
Bug-37044-Added-library-branch-to-SCO-OPAC-message.patch (text/plain), 1.64 KB, created by
Sam Lau
on 2024-06-06 14:37:28 UTC
(
hide
)
Description:
Bug 37044: Added library branch to SCO OPAC message
Filename:
MIME Type:
Creator:
Sam Lau
Created:
2024-06-06 14:37:28 UTC
Size:
1.64 KB
patch
obsolete
>From af79896d4e950be19d296ad9e972e8c81377255c Mon Sep 17 00:00:00 2001 >From: Sam Lau <samalau@gmail.com> >Date: Thu, 6 Jun 2024 14:29:54 +0000 >Subject: [PATCH] Bug 37044: Added library branch to SCO OPAC message > >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 >--- > 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 cd369b559d..c7b309f888 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 >@@ -6,6 +6,7 @@ > [% USE To %] > [% USE Price %] > [% USE AdditionalContents %] >+[% USE Branches %] > [% SET SCOMainUserBlock = AdditionalContents.get( location => "SCOMainUserBlock", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Self checkout › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title> >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37044
:
167550
|
167845