Bugzilla – Attachment 172525 Details for
Bug 36742
Do not show libraries in OPAC menu if there is just one public library
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.38 KB, created by
Marcel de Rooy
on 2024-10-08 13:35:16 UTC
(
hide
)
Description:
Bug 36742: (follow-up) Add hidden branchcode input for OPAC article requests
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-10-08 13:35:16 UTC
Size:
1.38 KB
patch
obsolete
>From dbc48a3e31fb7d1d8e20aec45e021ba536089896 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 >Content-Type: text/plain; charset=utf-8 > >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. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../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