Sha256: 74dcc78cb5e80b7a2e1ef9d09644788fc5337837ce958d5e15a60a4acd2f2da8

Contents?: true

Size: 455 Bytes

Versions: 62

Compression:

Stored size: 455 Bytes

Contents

# Overriding Blacklight so that the search results can be displayed in a way compatible with
# tokenInput javascript library.  This is used for suggesting "Related Works" to attach.

json.docs @presenter.documents do |solr_document|
  title = solr_document['title_tesim'].first
  title << " (#{solr_document['human_readable_type_tesim'].first})" if solr_document['human_readable_type_tesim'].present?
  json.pid solr_document['id']
  json.title title
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
curation_concerns-0.7.0 app/views/catalog/index.json.jbuilder
curation_concerns-0.6.0 app/views/catalog/index.json.jbuilder