Bugzilla – Attachment 169316 Details for
Bug 37407
Fast add / fast cataloging from patron checkout does not checkout item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37407: Fill barcode field when fast cataloging from patron checkout
Bug-37407-Fill-barcode-field-when-fast-cataloging-.patch (text/plain), 3.28 KB, created by
Brendan Lawlor
on 2024-07-22 16:05:07 UTC
(
hide
)
Description:
Bug 37407: Fill barcode field when fast cataloging from patron checkout
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-07-22 16:05:07 UTC
Size:
3.28 KB
patch
obsolete
>From f49a33d06f5ce8c20fc1100844e9dc96135fd765 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Mon, 22 Jul 2024 15:55:56 +0000 >Subject: [PATCH] Bug 37407: Fill barcode field when fast cataloging from > patron checkout > >This patch fills the barcode field on the patron checkout screen when >an item is fast cataloged at checkout. > >Test plan: >1. Apply patch >2. Enter a barcode not in the system, eg 99999 >3. Click '+ Add record using fast cataloging' >4. Fill required bib fields 000, 008 and 245a and click 'Save' >5. Add required item field y - Koha item type and click 'Add item' >6. Notice the barcode you entered previously is filled in the barcode field >7. Hit 'Enter' or click 'Checkout' and verify the item is checked out >--- > circ/circulation.pl | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 6 +++--- > 2 files changed, 4 insertions(+), 3 deletions(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index acabfa4d1d..09f8d5a568 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -716,6 +716,7 @@ $template->param( > branch => $branch, > was_renewed => scalar $query->param('was_renewed') ? 1 : 0, > barcodes => $barcodes, >+ fa_barcode => $barcode, > stickyduedate => $stickyduedate, > duedatespec => $duedatespec, > restoreduedatespec => $restoreduedatespec, >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 b790401fdf..db616229b1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -753,12 +753,12 @@ > <label class="circ_barcode" for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label> > > [% IF NEEDSCONFIRMATION %] >- <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> >+ <input type="text" name="barcode" id="barcode" value="[% fa_barcode | html %]" class="barcode focus" size="14" disabled="disabled" /> > [% ELSE %] > [% IF Koha.Preference('itemBarcodeFallbackSearch') %] >- <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" placeholder="Enter item barcode or keyword" /> >+ <input type="text" name="barcode" id="barcode" value="[% fa_barcode | html %]" class="barcode focus" size="14" placeholder="Enter item barcode or keyword" /> > [% ELSE %] >- <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" placeholder="Enter item barcode" /> >+ <input type="text" name="barcode" id="barcode" value="[% fa_barcode | html %]" class="barcode focus" size="14" placeholder="Enter item barcode" /> > [% END %] > [% END %] > >-- >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 37407
:
169316
|
169415
|
169416
|
169502
|
169602