Bug 21172: Remove obsolete framework parameter from GetMarcFromKohaField
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 14 Apr 2019 03:13:01 +0000 (03:13 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 May 2019 20:59:07 +0000 (20:59 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 2a9b9a526bb3e1c73e09cbee499a2debcab74ee5)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b1d1d5ab915b8b664e0ac321876a414655762ee4)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

cataloguing/addbiblio.pl

index 9b2d689..526e746 100755 (executable)
@@ -493,7 +493,7 @@ sub build_tabs {
     my @tab_data; # all tags to display
 
     my $max_num_tab=-1;
-    my ( $itemtag, $itemsubfield ) = GetMarcFromKohaField( "items.itemnumber", scalar $input->param('frameworkcode') );
+    my ( $itemtag, $itemsubfield ) = GetMarcFromKohaField( "items.itemnumber" );
     foreach my $used ( @$usedTagsLib ){
 
         push @tab_data,$used->{tagfield} if not $seen{$used->{tagfield}};