Bugzilla – Attachment 172521 Details for
Bug 36742
Improve OPAC behavior for instances with only one library, including libraries page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36742: (follow-up) Add hidden branchcode input for OPAC article requests
Bug-36742-follow-up-Add-hidden-branchcode-input-fo.patch (text/plain), 1.29 KB, created by
Owen Leonard
on 2024-10-08 13:10:27 UTC
(
hide
)
Description:
Bug 36742: (follow-up) Add hidden branchcode input for OPAC article requests
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-10-08 13:10:27 UTC
Size:
1.29 KB
patch
obsolete
>From 9ce3ccb3367fc4c2cfae09940a0303e587e605ee Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 2 Jul 2024 13:55:47 +0000 >Subject: [PATCH] Bug 36742: (follow-up) Add hidden branchcode input for OPAC > article requests > >This patch adds a hidden input containing the logged-in user's >branchcode to the article request form when there is only one public >branch. >--- > .../opac-tmpl/bootstrap/en/modules/opac-request-article.tt | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >index 41f9beba6e..3db46aa47c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >@@ -177,6 +177,8 @@ > [% END %] > </select> > </li> >+ [% ELSE %] >+ <input type="hidden" name="branchcode" value="[% Branches.GetLoggedInBranchcode | html %]" /> > [% END %] > </ul> > </fieldset> >-- >2.39.5
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 36742
:
168267
|
168317
|
168377
|
172520
|
172521
|
172524
|
172525