From b01004e97cc5443bad27365714a40157964c0398 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) --- 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.20.1