Bugzilla – Attachment 140788 Details for
Bug 31587
Basket not accessible from ACQORDER notice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31587: Basket not accessible from ACQORDER notice
Bug-31587-Basket-not-accessible-from-ACQORDER-noti.patch (text/plain), 1.28 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-09-20 14:48:00 UTC
(
hide
)
Description:
Bug 31587: Basket not accessible from ACQORDER notice
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-09-20 14:48:00 UTC
Size:
1.28 KB
patch
obsolete
>From 60a1d2b6d344d5963179f3e573e2c9b4a2acb951 Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Tue, 20 Sep 2022 10:21:19 -0400 >Subject: [PATCH] Bug 31587: Basket not accessible from ACQORDER notice > >The parameter "aqbasket" is passed to GetPreparedLetter, but is always undefined for the notice ACQORDER. > >Test Plan: >1) Set your ACQORDER notice content to: > ***[% basket %]*** >2) Set up a vendor with an email, set contact for email so the "E-mail > order" button shows on a basket for that vendor >3) E-mail the basket >4) Note the email contents are "******" >5) Apply this patch >6) Restart all the things! >7) Email the basket again >8) Note the content looks something like: > ***Koha::Acquisition::Basket=HASH(0x55870acd96e0)*** > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > C4/Letters.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index bde0d2b0dc..7207ebbabf 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -411,7 +411,7 @@ sub SendAlerts { > } > > if ( $type eq 'orderacquisition') { >- my $basketno = $externalid; >+ $basketno = $externalid; > $strsth = qq{ > SELECT aqorders.*,aqbasket.*,biblio.*,biblioitems.* > FROM aqorders >-- >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 31587
:
140786
|
140787
|
140788
|
141537
|
141538