From cbe1b8bb5706b17e60034c35107d91b170f14ce2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 13 Apr 2020 13:42:02 +0200 Subject: [PATCH] Bug 24612: Use the reserve_id to identify a reserve when building a notice Now that we have the reserve_id PK on the reserves table we should use it (instead of the couple borrowernumber, biblionumber) Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize (cherry picked from commit aa1f0fd73fa2a8dadd86ef5defc390e164845429) Signed-off-by: Aleisha Amohia --- C4/Letters.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index f505927675..0a50502271 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -1517,7 +1517,7 @@ sub _get_tt_params { module => 'Koha::Holds', singular => 'hold', plural => 'holds', - fk => [ 'borrowernumber', 'biblionumber' ], + pk => 'reserve_id', }, serial => { module => 'Koha::Serials', -- 2.20.1