https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28915 --- Comment #12 from Lari Taskula <lari.taskula@hypernova.fi> --- Created attachment 198102 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198102&action=edit Bug 28915: Add control field support to Koha::SimpleMARC::update_field() Before this patch, control fields were not modifiable using this subroutine. Control fields use character positions instead of subfields. When modifying control fields, this patch makes the subroutine's parameter "subfield" to indicate a character position. An example Koha::SimpleMARC::update_field({ record => $record, field => '008', subfield => '2', values => [09], }); changes field 008 starting from character position 2 to contain values "09". This replaces char pos 2 with "0", and char pos 3 with "9". To test: 1. prove t/SimpleMARC.t -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.