From 1a58e8cde36d8f8b91d16dac50156812e42ea78f Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 9 Jul 2013 15:07:08 +0000 Subject: [PATCH] Bug 9394: (follow-up) restore ability to cancel holds from the patron summary To test: - Place a hold request for a patron - From the patron details page, navigate to the holds table, then cancel (delete) it. - Verify that the hold request is gone. Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 1 + members/moremember.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 1566a32992..a457228809 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -659,6 +659,7 @@ function validate1(date) { + [% IF ( reservloo.suspend ) %]Suspended [% IF ( reservloo.suspend_until ) %] until [% reservloo.suspend_until | $KohaDates %][% END %][% END %] diff --git a/members/moremember.pl b/members/moremember.pl index 598b07db82..7188e90a57 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -318,6 +318,7 @@ if ($borrowernumber) { $getreserv{suspend} = $num_res->{'suspend'}; $getreserv{suspend_until} = $num_res->{'suspend_until'}; $getreserv{expirationdate} = $num_res->{'expirationdate'}; + $getreserv{reserve_id} = $num_res->{'reserve_id'}; push( @reservloop, \%getreserv ); } -- 2.39.5