From 68b378848db7ee553597ebd72c628597fd0ad39a 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 Content-Type: text/plain; charset=utf-8 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 --- 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 4c9119540b..bd6dc9bc7c 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -441,7 +441,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.20.1