https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21979 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Kyle, I did not test but I see: + $resp .= maybe_add( FID_COLLECTION_CODE, $item->collection_code, $server ); then: + if ( my $CR = $server->{account}->{cr_item_field} ) { + $resp .= maybe_add( FID_COLLECTION_CODE, $item->{$CR} ); + } else { + $resp .= maybe_add( FID_COLLECTION_CODE, $item->collection_code ); + } Is that correct? (twice maybe_add with FID_COLLECTION_CODE) -- You are receiving this mail because: You are watching all bug changes.