Bugzilla – Attachment 183917 Details for
Bug 40318
"Receive shipments" should not open in a new tab/window - vendor list view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40318: (bug 40067 follow-up) Prevent receive shipments opening in a new tab - vendor list view
Bug-40318-bug-40067-follow-up-Prevent-receive-ship.patch (text/plain), 1.39 KB, created by
Jonathan Druart
on 2025-07-10 06:52:35 UTC
(
hide
)
Description:
Bug 40318: (bug 40067 follow-up) Prevent receive shipments opening in a new tab - vendor list view
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-10 06:52:35 UTC
Size:
1.39 KB
patch
obsolete
>From f5871268d0b1743242f30b00aea1a11c9dd37fe4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 7 Jul 2025 15:21:20 +0200 >Subject: [PATCH] Bug 40318: (bug 40067 follow-up) Prevent receive shipments > opening in a new tab - vendor list view > >1. Acquisitions > Search vendors > Search >2. In the actions column, click "Receive shipments" >=> Without this patch the receive shipment from vendor [name] page opens in a new tab/window >=> With this patch applied it does not > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue >index aec7abad968..b689f10db09 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue >@@ -142,7 +142,7 @@ export default { > }, > doReceive({ id }, dt, event) { > event.preventDefault(); >- window.open(`/cgi-bin/koha/acqui/parcels.pl?booksellerid=${id}`); >+ window.location.href = `/cgi-bin/koha/acqui/parcels.pl?booksellerid=${id}`; > }, > doEdit({ id }, dt, event) { > this.$router.push({ >-- >2.34.1
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 40318
:
183840
|
183841
|
183847
|
183848
|
183916
| 183917