Show a "Return to Grouped Search Results" link from the metarecord
constituent records page.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
[% l('Viewing Results for Grouped Record: [_1]',
mr_attrs.title) | html %]
</div>
+ [% IF CGI.param('query') %]
+ <div>
+ <a href="[% mkurl(ctx.opac_root _ '/results', {}, ['metarecord']); %]">
+ [% l('◄ Return to Grouped Search Results') %]
+ </a>
+ </div>
+ <br/>
+ [% END %]
[% END %]
<div class="results_header_bar[%- IF ctx.metarecord %] hidden[% END -%]">
<div id="results_header_inner">