From 32a38148e820161b8b548c3a72978f0bfbf22441 Mon Sep 17 00:00:00 2001 From: Alan Stanley Date: Fri, 3 Apr 2020 12:03:49 -0300 Subject: [PATCH] Update islandora_fits.module Added crucial MIA code --- islandora_fits.module | 1 + 1 file changed, 1 insertion(+) diff --git a/islandora_fits.module b/islandora_fits.module index 0288d9e5..6a5dfde8 100644 --- a/islandora_fits.module +++ b/islandora_fits.module @@ -60,6 +60,7 @@ function islandora_fits_media_presave(MediaInterface $media) { $has_new = $transformer->checkNew($data); if ($has_new) { $media->set('field_complete', FALSE); + $transformer->addMediaFields($data); } else { $transformer->populateMedia($data, $media);