app/models/concerns/bplmodels/digital_object_export.rb
# if this is a volume in series, add the relationship
if this is a volume in series, add the relationship
if this is a volume in series add the relationship
def find_issues_for_volume
        issue_ids = []
        relationships.each_statement do |statement|
          if statement.predicate =~ /isVolumeOf/
            issue_ids << statement.object.to_s.gsub(/info:fedora\//,'')
          end
        end
        issue_ids.map { |v| { ark_id: v } } unless issue_ids.blank?
      end
def find_issues_for_volume issue_ids = [ ] relationships . each_statement do | statement | if statement . predicate =~ / isVolumeOf / issue_ids << statement . object . to_s . gsub ( / info:fedora \/ / , '' ) end end issue_ids . map { | v | { ark_id : v } } unless issue_ids . blank? end
if this is a volume in series, add the relationship
if this is a volume in series add the relationship