[Koha-bugs] [Bug 10996] Cannot exclude numeric subfields on export

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 16 10:46:47 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10996

--- Comment #8 from Colin Campbell <colin.campbell at 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.


More information about the Koha-bugs mailing list