lib/ddr/models/solr_document.rb in ddr-models-3.0.0.beta.9 vs lib/ddr/models/solr_document.rb in ddr-models-3.0.0.beta.10

- old
+ new

@@ -133,18 +133,18 @@ def source self[ActiveFedora::SolrService.solr_name(:source, :stored_searchable, type: :text)] end def has_thumbnail? - has_datastream?(Ddr::Datastreams::THUMBNAIL) + has_datastream?(Ddr::Models::File::THUMBNAIL) end def has_content? - has_datastream?(Ddr::Datastreams::CONTENT) + has_datastream?(Ddr::Models::File::CONTENT) end def content_ds - datastreams[Ddr::Datastreams::CONTENT] + datastreams[Ddr::Models::File::CONTENT] end def content_mime_type content_ds["dsMIME"] rescue nil end