Bug 34478: Manual fix - add op - request.tt placerequest
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
95c87290e5
commit
53991f88b0
2 changed files with 3 additions and 1 deletions
|
@ -494,6 +494,7 @@
|
|||
<form action="placerequest.pl" method="post" name="form" id="hold-request-form">
|
||||
[% INCLUDE 'csrf-token.inc' %]
|
||||
|
||||
<input type="hidden" name="op" value="cud-placerequest" />
|
||||
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
|
||||
[% FOREACH biblionumber IN biblionumbers %]
|
||||
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
|
||||
|
|
|
@ -49,6 +49,7 @@ my $item_group_id = $input->param('item_group_id');
|
|||
my $expirationdate = $input->param('expiration_date');
|
||||
my $itemtype = $input->param('itemtype') || undef;
|
||||
my $non_priority = $input->param('non_priority');
|
||||
my $op = $input->param('op') || q{};
|
||||
|
||||
my $patron = Koha::Patrons->find( $borrowernumber );
|
||||
|
||||
|
@ -65,7 +66,7 @@ foreach my $bibnum ( @holdable_bibs ) {
|
|||
|
||||
my $found;
|
||||
|
||||
if ( $patron ) {
|
||||
if ( $op eq 'cud-placerequest' && $patron ) {
|
||||
|
||||
foreach my $biblionumber ( keys %bibinfos ) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue