Bugzilla – Attachment 178092 Details for
Bug 39141
Add search box to checkout page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39141: Add a patron search box on Circulation - Checkout
Bug-39141-Add-a-patron-search-box-on-Circulation--.patch (text/plain), 2.11 KB, created by
Nick Clemens (kidclamp)
on 2025-02-14 12:59:41 UTC
(
hide
)
Description:
Bug 39141: Add a patron search box on Circulation - Checkout
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-02-14 12:59:41 UTC
Size:
2.11 KB
patch
obsolete
>From ff42fbb21d6929301222ef277ad1595f6885be13 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 14 Feb 2025 12:57:33 +0000 >Subject: [PATCH] Bug 39141: Add a patron search box on Circulation - Checkout > >This patch adds a search box when visiting the check out page before a patron has been >selected > >To test: >1 - From Koha home browse to Circulation -> Check out >2 - Note an empty page, though you have the header search forms >3 - Apply patch >4 - Repeate above - now you have a patron search box >5 - Search by name or cardnumber >6 - Confirm search works as expected >7 - Sign off! >--- > .../prog/en/modules/circ/circulation.tt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index be0237ae5d5..8adbabeb6a7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -989,6 +989,18 @@ > [% INCLUDE 'patron-detail-tabs.inc' patronpage = "circ" %] > [% ELSIF borrowernumber # IF patron %] > <div class="alert alert-info">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div> >+ [% ELSE %] >+ <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="get"> >+ <fieldset id="patron_checkout_search"> >+ <input autocomplete="off" id="findborrower" name="findborrower" type="text" placeholder="Enter patron card number or partial name" size="40" /> >+ [% IF ( stickyduedate ) %] >+ <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> >+ <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> >+ [% END %] >+ >+ <button class="btn btn-primary" type="submit" aria-label="Search">Search</button> >+ </fieldset> >+ </form> > [% END # /IF patron %] > [% END %] > [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %] >-- >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 39141
:
178092
|
178095
|
178121
|
178122
|
179318
|
179319