From cfc5b8a048de3440353d35f507167cb08b700890 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Wed, 14 Sep 2022 15:01:00 +0000 Subject: [PATCH] LP1980304 Bootstrap: Facets move when viewing results for grouped records. Fixes the displacement of the facets in the bootstrap opac when viewing grouped records. To test: 1. Perform a search in the bootstrap opac with the Group Formats and Editions option selected. In concerto - "Ready Player One" 2. Click on a resulting title that contains more than one format. 3. Notice the placement of the facets. 4. Apply the patch and repeat. 5. The facets should no longer be displaced when viewing metarecords or non-metarecords. Signed-off-by: Garry Collum Signed-off-by: Terran McCanna Signed-off-by: Galen Charlton --- Open-ILS/src/templates-bootstrap/opac/results.tt2 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/results.tt2 b/Open-ILS/src/templates-bootstrap/opac/results.tt2 index d8c4e74fdf..79d9ac7eab 100755 --- a/Open-ILS/src/templates-bootstrap/opac/results.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/results.tt2 @@ -31,18 +31,21 @@ [% IF ctx.metarecord; mr_attrs = {marc_xml => ctx.metarecord_master.marc_xml}; PROCESS get_marc_attrs args=mr_attrs %] -
+
+
+
[% l('Viewing Results for Grouped Record: [_1]', mr_attrs.title) | html %]
[% IF CGI.param('query') %] - +
[% END %]
-- 2.11.0