Bugzilla – Attachment 183848 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.38 KB, created by
David Nind
on 2025-07-07 18:15:09 UTC
(
hide
)
Description:
Bug 40318: (bug 40067 follow-up) Prevent receive shipments opening in a new tab - vendor list view
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-07-07 18:15:09 UTC
Size:
1.38 KB
patch
obsolete
>From 9b30ceca9b4f8d574828b7abc974a3b4334a35ab 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 aec7abad96..b689f10db0 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.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 40318
:
183840
|
183841
|
183847
|
183848
|
183916
|
183917