From 00e2f1bc71bdd54336af52ab21059229538cc8a3 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Thu, 19 Jul 2018 22:39:04 +0000 Subject: [PATCH] Bug 19532: Stopping recalls awaiting pickup to be issued to patrons other than the patron who recalled. Also fixed the display of item status in the holdings table on detail.pl on staff client so it doesn't say an item has been recalled when the recall has the status of 'F' (fulfilled) or 'C' (cancelled) Sponsored-By: Toi Ohomai Institute of Technology, New Zealand --- catalogue/detail.pl | 1 - koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 5a268ec..57d9356 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -337,7 +337,6 @@ foreach my $item (@items) { my $recall = Koha::Recalls->find({ itemnumber => $item->{itemnumber} }); if (defined $recall && $recall->status ne 'F' && $recall->status ne 'C'){ - warn 'item has been recalled'; $item->{recalled} = 1; $item->{recall} = $recall; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 7ad2088..52924ec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -318,6 +318,10 @@
  • This item is awaiting pickup by another patron who recalled it.
  • [% END %] + [% IF ( WAITING_RECALL_FOR_A_DIFFERENT_PATRON ) %] +
  • This item is awaiting pickup by another patron who recalled it.
  • + [% END %] + [% IF ( UNKNOWN_BARCODE ) %]
  • The barcode was not found: [% barcode | html %] -- 2.1.4