Bugzilla – Attachment 166801 Details for
Bug 13945
Multiple dialogs for item that needs transferred and hold captured at checkin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13945: Prevent multiple dialog modals from popping up when capturing a hold at checkin
Bug-13945-Prevent-multiple-dialog-modals-from-popp.patch (text/plain), 2.29 KB, created by
David Nind
on 2024-05-16 01:11:10 UTC
(
hide
)
Description:
Bug 13945: Prevent multiple dialog modals from popping up when capturing a hold at checkin
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-16 01:11:10 UTC
Size:
2.29 KB
patch
obsolete
>From ec901ad2d3da143f88ef459af43a6df2e2e33a15 Mon Sep 17 00:00:00 2001 >From: Laura Escamilla <laura.escamilla@bywatersolutions.com> >Date: Wed, 15 May 2024 15:34:22 +0000 >Subject: [PATCH] Bug 13945: Prevent multiple dialog modals from popping up > when capturing a hold at checkin > >1. Select/Create Library Branches: > - Select or create two library branches: Library A and Library B. > >2. Locate/Create Item: > - Locate or create an item with the "Current library" and "Home library" set to Library A. > >3. Place Hold: > - Place a hold on the item for a patron whose pickup location is Library B. > >4. Check-in at Library A - First Attempt: > - Check in the item at Library A. > - Verify that the 'Hold found' modal pops up. > - Click on 'Confirm hold and transfer'. > >5. Check-in at Library A - Second Attempt: > - Check in the item at Library A again. > - Verify that the 'Hold found' modal pops up. > - Click on 'Ignore'. > - Verify that the 'Please return this item to (Library B)' modal has popped up behind it. > >6. Apply Patch and Restart: > - Apply the patch to the system. > - Restart all relevant services. > >7. Repeat Check-in Process: > - Repeat steps 4 and 5. > - Verify that no matter how many times you check in the item and hit 'Ignore' or 'Confirm the hold', the second modal does not pop up. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 474a3e6473..36de0c23c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -735,7 +735,7 @@ > </div> <!-- /#hold-found1 --> > [% END # /IF waiting %] > >- [% IF transfer || needstransfer %] >+ [% IF (transfer || needstransfer) && !(reserved and !recalled and !waitingrecall) %] > [% IF Koha.Preference('TransfersBlockCirc') %] > <div id="item-transfer-modal" class="modal fade audio-alert-action block"> > [% ELSE %] >-- >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 13945
:
37440
|
166785
|
166801
|
172420