app/models/spotlight/search.rb in blacklight-spotlight-2.2.1 vs app/models/spotlight/search.rb in blacklight-spotlight-2.3.0
- old
+ new
@@ -22,9 +22,10 @@
accepts_nested_attributes_for :thumbnail, update_only: true, reject_if: proc { |attr| attr['iiif_tilesource'].blank? }
accepts_nested_attributes_for :masthead, update_only: true, reject_if: proc { |attr| attr['iiif_tilesource'].blank? }
def thumbnail_image_url
return unless thumbnail && thumbnail.iiif_url
+
thumbnail.iiif_url
end
def documents
start = 0