From aa1f0fd73fa2a8dadd86ef5defc390e164845429 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 --- C4/Letters.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 1036c461f3..b6766891c2 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -1519,7 +1519,7 @@ sub _get_tt_params { module => 'Koha::Holds', singular => 'hold', plural => 'holds', - fk => [ 'borrowernumber', 'biblionumber' ], + pk => 'reserve_id', }, serial => { module => 'Koha::Serials', -- 2.39.5