Bug 38010: Point basket action buttons to correct pages

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Matt Blenkinsop 2024-10-15 14:48:53 +00:00 committed by Katrin Fischer
parent e67c42e946
commit 850e6a2c3c
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 15 additions and 1 deletions

View File

@ -82,8 +82,22 @@ export default {
};
},
methods: {
addToBasket({ agreement_id }, dt, event) {
addToBasket({ basket_id }, dt, event) {
event.preventDefault();
location.href =
"/cgi-bin/koha/acqui/basket.pl?basketno=" + basket_id;
},
closeBasket({ basket_id }, dt, event) {
event.preventDefault();
location.href =
"/cgi-bin/koha/acqui/basket.pl?basketno=" + basket_id;
},
uncertainPrices({ basket_id }, dt, event) {
event.preventDefault();
location.href =
"/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=" +
basket_id +
"&owner=1";
},
tableURL() {
let url =