Sha256: 9f1beffda4b43d826967b48137348a568c7780442a92d394b1a76e8285a5bbc5

Contents?: true

Size: 515 Bytes

Versions: 3

Compression:

Stored size: 515 Bytes

Contents

module BlacklightMarc
  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

3 entries across 3 versions & 1 rubygems

Version Path
blacklight_marc-0.0.9 lib/blacklight_marc/catalog.rb
blacklight_marc-0.0.8 lib/blacklight_marc/catalog.rb
blacklight_marc-0.0.7 lib/blacklight_marc/catalog.rb