From ffc4f55d50b5ac79516903d0472d944f6f1a18f4 Mon Sep 17 00:00:00 2001 From: Benjamin Armintor Date: Fri, 26 Jul 2024 15:17:01 -0400 Subject: [PATCH] override blacklight thumbnail slot to restore local layout (DLC-1143) --- app/components/dcv/document_component.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/dcv/document_component.rb b/app/components/dcv/document_component.rb index e9798966..1e08ab07 100644 --- a/app/components/dcv/document_component.rb +++ b/app/components/dcv/document_component.rb @@ -48,7 +48,7 @@ def before_render # @search_session = helpers.search_session @search_view ||= "#{controller.default_search_mode}-view" # part of superclass in BL8 - with_thumbnail(linked_thumbnail) unless thumbnail + with_thumbnail(linked_thumbnail) unless partials? @view_partials&.each do |view_partial| with_partial(view_partial) do