From d059b7da6d058521baf25b9cbf8714012e59477f Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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 --- .../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