Bug 36326: Fix batch item mod/del access from biblio detail page
Allow both $op eq "show" and "cud-show". We need to keep the POST when we upload a file, but we can simply allow GET with "show". Test plan: Go to the biblio detail page, select an item and test both tools via the links "Delete selected items" and "Modify selected items" Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
1ea4a11c2a
commit
a36e8900d7
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ $template->param(
|
|||
# build screen with existing items. and "new" one
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
if ($op eq "cud-show"){
|
||||
if ($op eq "cud-show" || $op eq "show"){
|
||||
my $filefh = $input->upload('uploadfile');
|
||||
my $filecontent = $input->param('filecontent');
|
||||
my ( @notfoundbarcodes, @notfounditemnumbers);
|
||||
|
|
Loading…
Reference in a new issue