diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt
index 82bee0ea37..c0b37f26ff 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt
@@ -239,11 +239,11 @@ href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" />
[% END %]
[% END %]
- [% IF ( ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
+ [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
[% END %]
+ [% IF ( ( Koha.Preference( 'opacbookbag' ) = 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %][% END %]
[% IF ( GROUP_RESULT.classification ) %]
[% GROUP_RESULT.classification %]
[% END %]
@@ -356,4 +356,4 @@ function highlightOn() {
}
//]]>
-[% END %]
\ No newline at end of file
+[% END %]
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/search/results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/search/results.tt
index f8b300db6a..6ad89770ac 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/search/results.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/search/results.tt
@@ -9,7 +9,9 @@
[% INCLUDE 'doc-head-close.inc' %]
+[% BLOCK cssinclude %]
+[% END %]
@@ -107,3 +109,4 @@
[% INCLUDE 'opac-bottom.inc' %]
+[% BLOCK jsinclude %][% END %]