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 <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2020-04-13 13:42:02 +02:00 committed by Martin Renvoize
parent e9e8b635e1
commit aa1f0fd73f
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -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',