@@ -, +, @@ functions when receiving. - Make the newly received serial gets its default itemtype from the subscription. --- C4/Items.pm | 3 +++ 1 file changed, 3 insertions(+) --- a/C4/Items.pm +++ a/C4/Items.pm @@ -2783,6 +2783,9 @@ sub PrepareItemrecordDisplay { while ( my ( $itemtype, $description ) = $sth->fetchrow_array ) { push @authorised_values, $itemtype; $authorised_lib{$itemtype} = $description; + # If we have default value named itemtype or itemtypes, we use it + $defaultvalue = $itemtype if ($defaultvalues and ($defaultvalues->{'itemtypes'} eq $itemtype or $defaultvalues->{'itemtype'} eq $itemtype)); + } #---- class_sources } elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "cn_source" ) { --