lib/berkeley_library/tind/mapping/tind_subfield_util.rb
# Combine multiple subfield values based on definition from csv file
Combine multiple subfield values based on definition from csv file
Combine multiple subfield values based on definition from csv file
def combined_subfield_value(field, code, symbol)
          sf_arr = subfields(field, code)
          return '' if sf_arr.empty?
          sf_arr.map(&:value).join(symbol) << symbol 
        end
def combined_subfield_value ( field , code , symbol ) sf_arr = subfields ( field , code ) return '' if sf_arr . empty? sf_arr . map ( & :value ) . join ( symbol ) << symbol end
Combine multiple subfield values based on definition from csv file
Combine multiple subfield values based on definition from csv file
# symbol exmaple ' -- '
field
<not_specific>
code
<not_specific>
symbol
<not_specific>