[Koha-bugs] [Bug 21979] Add option to SIP2 config to send arbitrary item field in CR instead of collection code
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 29 13:48:28 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21979
--- Comment #9 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #7)
> 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)
Fixed! Looks like the original patch got a bad rebase perhaps.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list