Sha256: ba0a90bd4c61c07546eab80e14f90aeadd1e4d60102948ef18e109ff3354cec7

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

module Blacklight::Marc
  module Catalog
    def librarian_view
      @response, @document = get_solr_response_for_doc_id

      respond_to do |format|
        format.html
        format.js { render :layout => false }
      end
    end

    # grabs a bunch of documents to export to endnote
    def endnote
      @response, @documents = get_solr_response_for_field_values(SolrDocument.unique_key,params[:id])
      respond_to do |format|
        format.endnote { render :layout => false }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-marc-5.4.0 lib/blacklight/marc/catalog.rb
blacklight-marc-5.0.0 lib/blacklight/marc/catalog.rb