Bugzilla – Attachment 177978 Details for
Bug 39029
When a basket contains an order transferred from another basket some information is incorrect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39029: When a basket contains an order transferred from another basket some info is incorrect.
Bug-39029-When-a-basket-contains-an-order-transfer.patch (text/plain), 2.58 KB, created by
Imani
on 2025-02-12 21:34:29 UTC
(
hide
)
Description:
Bug 39029: When a basket contains an order transferred from another basket some info is incorrect.
Filename:
MIME Type:
Creator:
Imani
Created:
2025-02-12 21:34:29 UTC
Size:
2.58 KB
patch
obsolete
>From a22e6f92cf8a77e541725d51af95edb432bf7952 Mon Sep 17 00:00:00 2001 >From: Imani Thomas <imani.thomas@bywatersolutions.com> >Date: Wed, 12 Feb 2025 20:48:53 +0000 >Subject: [PATCH] Bug 39029: When a basket contains an order transferred from > another basket some info is incorrect. > >To test: >1 - Create a new basket - 'Gonna transfer' >2 - Add an order to the basket >3 - Create another basket 'Has the transfer' >4 - Return to first basket and transfer order to second >5 - Return to second basket, click 'Add to basket' and inspect the modal >6 - Note basketno says 'Gonna transfer' >7 - apply the patch >8 - redo steps 1 through 6 with fresh baskets and the modal should have the correct values >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index 9ed74d2792..6c825e6b3f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -734,12 +734,12 @@ > > > [% END %] > [% IF (books_loo.transferred_from) %] >- [% basket = books_loo.transferred_from.basket %] >+ [% transfer_basket = books_loo.transferred_from.basket %] > [% bookseller = books_loo.transferred_from.bookseller %] > [% timestamp = books_loo.transferred_from.timestamp %] > <p> > Transferred from basket: >- <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | uri %]"> [% basket.basketname | html %]</a> >+ <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% transfer_basket.basketno | uri %]"> [% transfer_basket.basketname | html %]</a> > (<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id | uri %]">[% bookseller.name | html %]</a>) on > <span title="[% timestamp | $KohaDates with_hours = 1 %]"> [% timestamp | $KohaDates %] </span> > </p> >-- >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 39029
:
177978
|
180473
|
182270