Closed ta1986 closed 8 months ago
I'm able to resolve the issue in Blacklight 8 by: Reorder "extend ActiveSupport::Concern" and "include Blacklight::Searchable" Remove @response per number 2 in https://github.com/projectblacklight/blacklight/wiki/Upgrading-to-Blacklight-8#upgrade-notes
require 'net/http'
require 'json'
class ImagesController < ApplicationController
include Blacklight::Searchable
extend ActiveSupport::Concern
include Blacklight::Catalog
def manifest
@document = search_service.fetch(params[:id])
...
end
end
I created ImagesController as following to provide iiif manifest service:
This works fine in Blacklight 7 but I got undefined local variable or method `search_service' after upgrade to Blacklight 8. Is the commit e80c1b8 related? Could you please suggest a work around?