http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10996 --- Comment #8 from Colin Campbell <colin.campbell@ptfs-europe.com> --- (In reply to Galen Charlton from comment #6)
Comment on attachment 21974 [details] [review] Bug 10996 Allow numeric subfields to be stripped on export
Review of attachment 21974 [details] [review]: -----------------------------------------------------------------
::: tools/export.pl @@ +365,5 @@
+ my $subfield = $2; + + # skip if this record doesn't have this field + next if not defined $record->field($field); + if ($subfield) {
This is not the right test -- consider somebody who wants to exclude a subfield $0 (zero) from export.
Amended patch to cover this case. -- You are receiving this mail because: You are watching all bug changes.