lib/ddr/models/solr_document.rb in ddr-models-3.0.0.beta.18 vs lib/ddr/models/solr_document.rb in ddr-models-3.0.0.beta.20
- old
+ new
@@ -149,10 +149,10 @@
def content_ds
datastreams[Ddr::Models::File::CONTENT]
end
def content_mime_type
- content_ds["dsMIME"] rescue nil
+ content_ds["mime_type"] rescue nil
end
# For duck-typing with Ddr::Models::HasContent
alias_method :content_type, :content_mime_type
def content_checksum