LP#1053397 MR list return to grouped results
authorBill Erickson <berick@esilibrary.com>
Fri, 21 Feb 2014 15:19:00 +0000 (10:19 -0500)
committerDan Wells <dbw2@calvin.edu>
Fri, 21 Feb 2014 20:38:55 +0000 (15:38 -0500)
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>
Open-ILS/src/templates/opac/results.tt2

index 6bd1c94..a99ac0d 100644 (file)
             [% 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('&#9668; 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">