From 01b332d466add3f75eb34fc0b26fde2e32b7a11e Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Wed, 26 Dec 2007 12:55:33 -0600 Subject: [PATCH] removing some code that is for staff, not for opac Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- opac/opac-search.pl | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 518b5afdec..a1fc224e28 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -478,30 +478,6 @@ if ($@ || $error) { exit; } -# FIXME: This belongs in tools/ not in the primary search results page -my $op=$cgi->param("operation"); -if ($op eq "bulkedit"){ - my ($countchanged,$listunchanged)= - ModBiblios($results_hashref->{'biblioserver'}->{"RECORDS"}, - $params->{"tagsubfield"}, - $params->{"inputvalue"}, - $params->{"targetvalue"}, - $params->{"test"} - ); - $template->param(bulkeditresults=>1, - tagsubfield=>$params->{"tagsubfield"}, - inputvalue=>$params->{"inputvalue"}, - targetvalue=>$params->{"targetvalue"}, - countchanged=>$countchanged, - countunchanged=>scalar(@$listunchanged), - listunchanged=>$listunchanged); - - if (C4::Context->userenv->{'flags'}==1 ||(C4::Context->userenv->{'flags'} & ( 2**9 ) )){ - #Edit Catalogue Permissions - $template->param(bulkedit => 1); - $template->param(tagsubfields=>GetManagedTagSubfields()); - } -} # At this point, each server has given us a result set # now we build that set for template display my @sup_results_array; -- 2.39.5