LibreCat / Catmandu-MARC

Catmandu modules for working with MARC data
https://metacpan.org/release/Catmandu-MARC
Other
8 stars 10 forks source link

Catmandu::Fix::marc_map option value and subfields #33

Closed cKlee closed 8 years ago

cKlee commented 8 years ago

Current Catmandu::Fix::marc_map does not care for subfields if option 'value' is set:

marc_map('245^h', title.medium, value:'unknown')

title.medium will always be 'unknown' if field 245 is present. But shouldn't it care for subfields?