From 6b50f2ac5733e7370650858cae76d42c035ca038 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 28 Jun 2022 10:06:57 +0000 Subject: [PATCH] Bug 30769: Typo fix in request.tt This patch fixes a small typo at koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt:574 To test: 1 - Set item-level_itypes in administrative preferences to bibliographic record 2 - Navigate to /reserve/request.pl in admin interface 3 - Notice that the typo is there in hold details 4 - Apply Patch 5 - Typo is fixed --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- misc/cronjobs/holds/auto_unsuspend_holds.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 275fe90e53..9e62356d58 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -642,7 +642,7 @@
    [% UNLESS Koha.Preference('item-level_itypes') %]
  1. - Item typeX: + Item type: [% biblio.itemtype.translated_description | html %]
  2. [% END %] diff --git a/misc/cronjobs/holds/auto_unsuspend_holds.pl b/misc/cronjobs/holds/auto_unsuspend_holds.pl index a0b3724c98..9db2b626fa 100755 --- a/misc/cronjobs/holds/auto_unsuspend_holds.pl +++ b/misc/cronjobs/holds/auto_unsuspend_holds.pl @@ -23,7 +23,7 @@ use warnings; # cancel all expired hold requests use Koha::Script -cron; -use C4::Reserves; +use C4::Reserves qw(AutoUnsuspendReserves); use C4::Log qw( cronlogaction ); cronlogaction(); -- 2.25.1