app/helpers/marc_heading_helper.rb
# Returns statements of responsibility based on any linked 880's for
# the 245. Too hard to use MarcPresenter for this, we do it by hand. 
Returns statements of responsibility based on any linked 880's for
the 245. Too hard to use MarcPresenter for this, we do it by hand.
Returns statements of responsibility based on any linked 880 ' s for the 245 . Too hard to use MarcPresenter for this we do it by hand .
def heading_linked_stmt_resp(document)
    marc = document_to_marc(document)
    return linked_marc_fields(marc, marc['245']).collect do |field|
      strip_edge_punctuation(field['c']) 
    end.compact
  end
def heading_linked_stmt_resp ( document ) marc = document_to_marc ( document ) return linked_marc_fields ( marc , marc [ '245' ] ) . collect do | field | strip_edge_punctuation ( field [ 'c' ] ) end . compact end
Returns statements of responsibility based on any linked 880's for
the 245.
Returns statements of responsibility based on any linked 880 ' s for the 245 .
document
<not_specific>