[Koha-bugs] [Bug 32547] Koha::Item->as_marc_field ignores more_subfields_xml
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 29 14:01:24 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32547
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I confirm this problem is only present in 21.11.
Steps to reproduce:
0. Launch a 21.11 KTD:
# stop any running KTD
$ ktd down
$ git checkout origin/21.11.x -b bug_32547
$ KOHA_IMAGE=21.11 ktd up -d
1. Edit the default framework field 952, add a 'R' subfield for items. Make
sure you set:
tab: 10
visibility: opac, staff, editor
2. Pick a biblio and make sure it uses the default framework. I searched for
'att' and picked "Introduction to Attic Greek / Donald J. Mastronarde." from
the sample dataset.
3. Add an item, set the 'R' subfield to some value.
4. Run:
$ kshell
k$ perl -MKoha::Items -MData::Printer -e 'my $item = Koha::Items->find(973);
p($item->as_marc_field->as_formatted);'
=> FAIL: the output doesn't show subfield R.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list