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-1.3.2 app/views/catalog/index.json.jbuilder
curation_concerns-1.3.1 app/views/catalog/index.json.jbuilder
curation_concerns-1.3.0 app/views/catalog/index.json.jbuilder
curation_concerns-1.2.0 app/views/catalog/index.json.jbuilder
curation_concerns-1.1.2 app/views/catalog/index.json.jbuilder
curation_concerns-1.1.1 app/views/catalog/index.json.jbuilder
curation_concerns-1.1.0 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta10 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta9 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta8 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta7 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta6 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta5 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta4 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta3 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta2 app/views/catalog/index.json.jbuilder
curation_concerns-1.0.0.beta1 app/views/catalog/index.json.jbuilder
curation_concerns-0.14.0 app/views/catalog/index.json.jbuilder
curation_concerns-0.14.0.pre4 app/views/catalog/index.json.jbuilder