From caa1bc84127af12917ab84d80932401e3a3572aa Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Mon, 22 Mar 2021 13:17:12 +0100 Subject: [PATCH] Hide literature and bibliography by default --- .../templates/freemarker/body/search/search-pagedResults.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/main/webapp/templates/freemarker/body/search/search-pagedResults.ftl b/webapp/src/main/webapp/templates/freemarker/body/search/search-pagedResults.ftl index cb22923c5..147c8fe0e 100644 --- a/webapp/src/main/webapp/templates/freemarker/body/search/search-pagedResults.ftl +++ b/webapp/src/main/webapp/templates/freemarker/body/search/search-pagedResults.ftl @@ -206,13 +206,13 @@ $('input[type=checkbox]').removeAttr('checked'); var biblioArr = Array.from(biblioSet); biblioArr.sort(); if (workArr.length > 0 ) { - $('
').insertAfter($('.virtualArticlePart').last()); + $('
').insertAfter($('.virtualArticlePart').last()); for (let value of workArr){ $('.virtualWorks').last().append( '

' + value + '

' ); } } if (biblioArr.length > 0 ) { - $('
').insertAfter($('.virtualArticlePart').last()); + $('
').insertAfter($('.virtualArticlePart').last()); for (let value of biblioArr){ $('.virtualBibliography').last().append( '

' + value + '

' ); }