lib/ddr/models/indexing.rb in ddr-models-1.8.0 vs lib/ddr/models/indexing.rb in ddr-models-1.8.1

- old
+ new

@@ -28,12 +28,9 @@ end if respond_to? :virus_checks last_virus_check = virus_checks.last fields.merge!(last_virus_check.to_solr) if last_virus_check end - if respond_to?(:original_filename) && original_filename.present? - fields[ORIGINAL_FILENAME] = original_filename - end if has_content? fields[CONTENT_CONTROL_GROUP] = content.controlGroup fields[CONTENT_SIZE] = content_size fields[CONTENT_SIZE_HUMAN] = content_human_size fields[MEDIA_TYPE] = content_type