Bugzilla – Attachment 167845 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.69 KB, created by
Owen Leonard
on 2024-06-18 13:30:58 UTC
(
hide
)
Description:
Bug 37044: Added library branch to SCO OPAC message
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-06-18 13:30:58 UTC
Size:
1.69 KB
patch
obsolete
>From 8ce5c9dcd1dd68babbdc259ce35678d057623ca4 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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > 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 b6e682658e..279538bc7c 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