lib/berkeley_library/tind/mapping/csv_mapper.rb
# tags allow to keep the first datafield from original marc record
tags allow to keep the first datafield from original marc record
tags allow to keep the first datafield from original marc record
def one_occurrence_tags
          tags = []
          CsvMapper.rows.each do |row|
            tags << row[:tag_origin] if row[:keep_one_if_multiple_available]
          end
          tags.compact
        end
def one_occurrence_tags tags = [ ] CsvMapper . rows . each do | row | tags << row [ :tag_origin ] if row [ :keep_one_if_multiple_available ] end tags . compact end
tags allow to keep the first datafield from original marc record
tags allow to keep the first datafield from original marc record