Bug 32030: Fix perlcritic errors
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Nov 2022 08:00:47 +0000 (09:00 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 9 Nov 2022 12:48:26 +0000 (09:48 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/ERM/Providers/EBSCO.pm
Koha/REST/V1/ERM/EHoldings/Resources/EBSCO.pm
Koha/REST/V1/ERM/EHoldings/Titles/EBSCO.pm

index 3c3ccf8..38217b5 100644 (file)
@@ -223,7 +223,6 @@ sub build_query {
 
     return $url unless $params && %$params;
     while ( my ( $attr, $value ) = each %$params ) {
-        my $their_attr;
         if ( $attr eq 'name' ) {
             $url .= '&search=' . $value;
         }
index 6afe15d..5f94587 100644 (file)
@@ -76,7 +76,6 @@ sub list {
 
         my ( $per_page, $page ) = $ebsco->build_query_pagination($args);
 
-        my ( $search, $content_type, $selection_type );
         my $additional_params = $ebsco->build_additional_params( $c->req->params->to_hash );
         my $searchfield = 'titlename';
 
index 73132f8..cc2f414 100644 (file)
@@ -46,7 +46,6 @@ sub list {
 
         my ( $per_page, $page ) = $ebsco->build_query_pagination($args);
 
-        my ( $search, $content_type, $selection_type );
         my $additional_params = $ebsco->build_additional_params( $c->req->params->to_hash );
 
         unless ( defined $additional_params->{publication_title} ) {