lib/psulib_traject/macros.rb
def collect_link_data(field)
      {
        url: collect_subfield_values(field: field, code: 'u'),
        prefix: collect_subfield_values(field: field, code: '3').first,
        text: collect_subfield_values(field: field, code: 'y').first,
        notes: collect_subfield_values(field: field, code: 'z').join(' ')
      }
    end
# For genre facet and display
#
# limit to subfield $2 vocabularies for 655|*7 genres
For genre facet and display
limit to subfield $2 vocabularies for 655|*7 genres
For genre facet and display limit to subfield $2 vocabularies for 655| * 7 genres
def collect_link_data(field)
      {
        url: collect_subfield_values(field: field, code: 'u'),
        prefix: collect_subfield_values(field: field, code: '3').first,
        text: collect_subfield_values(field: field, code: 'y').first,
        notes: collect_subfield_values(field: field, code: 'z').join(' ')
      }
    end
def collect_link_data ( field ) { url : collect_subfield_values ( field : field , code : 'u' ) , prefix : collect_subfield_values ( field : field , code : '3' ) . first , text : collect_subfield_values ( field : field , code : 'y' ) . first , notes : collect_subfield_values ( field : field , code : 'z' ) . join ( ' ' ) } end
For genre facet and display
limit to subfield $2 vocabularies for 655|*7 genres
For genre facet and display limit to subfield $2 vocabularies for 655| * 7 genres
field