From 9408a443c24a5424828f62b48fa1dda04fdf3512 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 29 Aug 2022 13:40:28 +0000 Subject: [PATCH] Bug 15545: Remove reqholdnotes from opac-reserve This never really made it. So let's remove all traces. Test plan: Look at code changes and git grep reqholdnotes. Bonus: Place a hold with/without hold notes. Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 6 ------ opac/opac-reserve.pl | 1 - 2 files changed, 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index b45ed20983..a43b084032 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -317,9 +317,6 @@
  • - [% IF bibitemloo.reqholdnotes %] - Please enter additional information about the requested item: - [% END %]
  • @@ -558,9 +555,6 @@ $("#reqspecific_[% bibitemloo.biblionumber | html %]").click(); $("#copiesrow_[% bibitemloo.biblionumber | html %]").show(); [% END %] - [% IF bibitemloo.reqholdnotes %] - $("#holdnotes_[% bibitemloo.biblionumber | html %]").attr( 'required', true ); - [% END %] [% END %] // Replace non-JS single-selection with multi-selection capability. diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 23ff6da31f..ec3d6adcb8 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -414,7 +414,6 @@ foreach my $biblioNum (@biblionumbers) { $biblioLoopIter{rank} = $biblioData->{rank}; $biblioLoopIter{reservecount} = $biblioData->{reservecount}; $biblioLoopIter{already_reserved} = $biblioData->{already_reserved}; - $biblioLoopIter{reqholdnotes}=0; #TODO: For future use if (!$itemLevelTypes && $biblioData->{itemtype}) { $biblioLoopIter{translated_description} = $itemtypes->{$biblioData->{itemtype}}{translated_description}; -- 2.39.5