Bugzilla – Attachment 184988 Details for
Bug 40575
Transferring order will reload the page and its form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40575: Transferring order will reload the page and its form
Bug-40575-Transferring-order-will-reload-the-page-.patch (text/plain), 1.52 KB, created by
Baptiste Wojtkowski (bwoj)
on 2025-08-01 11:56:25 UTC
(
hide
)
Description:
Bug 40575: Transferring order will reload the page and its form
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2025-08-01 11:56:25 UTC
Size:
1.52 KB
patch
obsolete
>From 3d6874d2a6f0c5fcf0d8d804ba54cc14f7f41d4a Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Fri, 1 Aug 2025 13:53:50 +0200 >Subject: [PATCH] Bug 40575: Transferring order will reload the page and its > form > >Test plan: >1 - Create two baskets: "Source Basket" and "Dest Basket" >2 - Add one command line to "Source Basket" >3 - Close the basket >4 - Receive shipment >5 - Receive order >6 - Cancel the order receive >7 - Transfer the order to the Dest Basket -> When clicking on chose, you will be asked if you want to send again infos (which were sent to cancel the order receive), and if accepting, you will be printed an error. >8 - Apply patch >9 - Repeat the process with another source Basket and notice the page is simply reloaded without sending form. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt >index 167170c3dd..aefdcdf1e2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt >@@ -160,7 +160,7 @@ > [% MACRO jsinclude BLOCK %] > [% IF transferred %] > <script> >- opener.location.reload(); >+ opener.location.replace(opener.location.origin + opener.location.pathname + opener.location.search); > window.close(); > </script> > [% END %] >-- >2.30.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 40575
: 184988