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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 15 18:17:42 CEST 2013


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

--- Comment #6 from Galen Charlton <gmcharlt at gmail.com> ---
Comment on attachment 21974
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21974
Bug 10996 Allow numeric subfields to be stripped on export

Review of attachment 21974:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10996&attachment=21974)
-----------------------------------------------------------------

::: 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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list