app/models/concerns/hyrax/file_set/querying.rb in hyrax-3.0.0.pre.beta1 vs app/models/concerns/hyrax/file_set/querying.rb in hyrax-3.0.0.pre.beta2
- old
+ new
@@ -3,10 +3,10 @@
module Querying
extend ActiveSupport::Concern
module ClassMethods
def where_digest_is(digest_string)
- where Solrizer.solr_name('digest', :symbol) => urnify(digest_string)
+ where ActiveFedora.index_field_mapper.solr_name('digest', :symbol) => urnify(digest_string)
end
def urnify(digest_string)
"urn:sha1:#{digest_string}"
end