app/controllers/catalog_controller.rb
# Returns partial HTML loaded by the rails_stackview AJAX on browse clicks.
Returns partial HTML loaded by the rails_stackview AJAX on browse clicks.
Returns partial HTML loaded by the rails_stackview AJAX on browse clicks .
def shelfbrowse_item
    cat = Blacklight::SearchService.new(
      config: CatalogController.blacklight_config
    )
    _, doc = cat.fetch(params[:id])
    render :partial => "shelfbrowse_item", :locals => {:document => doc, :call_number => params[:sort_key_display]}
  end
def shelfbrowse_item cat = Blacklight :: SearchService . new ( config : CatalogController . blacklight_config ) _ , doc = cat . fetch ( params [ :id ] ) render :partial => "shelfbrowse_item" , :locals => { :document => doc , :call_number => params [ :sort_key_display ] } end
Returns partial HTML loaded by the rails_stackview AJAX on browse clicks.
Returns partial HTML loaded by the rails_stackview AJAX on browse clicks .