Revert "Prevent URIs when we have OpenURLs in search results"
authorDan Scott <dscott@laurentian.ca>
Mon, 5 Jan 2015 15:33:56 +0000 (10:33 -0500)
committerDan Scott <dscott@laurentian.ca>
Mon, 5 Jan 2015 15:33:56 +0000 (10:33 -0500)
This reverts commit d99a89da9723afe8e9364c310dd551c113961f5a.

Open-ILS/src/templates/opac/parts/result/table.tt2

index fe2a877..baebf63 100644 (file)
@@ -237,7 +237,6 @@ END;
                                                                 NEXT IF issn == '';
                                                                 res_urls = ResolverResolver.resolve_issn(issn, openurl.baseurl);
                                                                 FOREACH res IN res_urls;
-                                                                    found_openurl = 1;
                                                         %]
                                                         <tr name="results_issn_tr">
                                                             <td valign="top">
@@ -290,14 +289,14 @@ END;
                                                                 </td>
                                                             </tr>
                                                         [% END %]
-                                                        [% UNLESS found_openurl; FOR uri IN args.uris %]
+                                                        [% FOR uri IN args.uris %]
                                                             <tr name='bib_uri_list' class='result_table_title_cell'>
                                                                 <td valign='top'>
                                                                     <strong>[% l('Electronic resource') %]</strong>
                                                                 </td>
                                                                 <td><a href="[% uri.href %]">[% uri.link | html %]</a>[% ' - ' _ uri.note | html IF uri.note %]</td>
                                                             </tr>
-                                                            [% END; END %]
+                                                            [% END %]
                                                             [%- IF args.holdings.size > 0;
                                                                 FOREACH copy IN args.holdings;
                                                                     IF copy.part_label != '';