https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9156
Zeno Tajoli <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Zeno Tajoli <[email protected]> --- To fix the probblrm we need to work on line 149 - 160 of ../cataloguing/additem.pl. The lines are: 149 my $pref_itemcallnumber = C4::Context->preference('itemcallnumber'); 150 if (!$value && $subfieldlib->{kohafield} eq 'items.itemcallnumber' && $pref_itemcallnumber) { 151 my $CNtag = substr($pref_itemcallnumber, 0, 3); 152 my $CNsubfield = substr($pref_itemcallnumber, 3, 1); 153 my $CNsubfield2 = substr($pref_itemcallnumber, 4, 1); 154 my $temp2 = $temp->field($CNtag); 155 if ($temp2) { 156 $value = ($temp2->subfield($CNsubfield)).' '.($temp2->subfield($CNsubfield2)); 157 #remove any trailing space incase one subfield is used 158 $value =~ s/^\s+|\s+$//g; 159 } 160 } It is clear that first and second subfields are user. Inside '$temp' you find bibliographic record data. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
