TPAC: Show ISSN in search results, if available user/dbs/tpac_issn_results
authorDan Scott <dscott@laurentian.ca>
Wed, 12 Sep 2012 18:09:04 +0000 (14:09 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 12 Sep 2012 18:09:04 +0000 (14:09 -0400)
Just as we show the ISBN in search results, the ISSN is an important
identifier to display if we have one (and we often will if we don't have
an ISBN).

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/result/table.tt2

index bc52adb..87bb4cc 100644 (file)
                                                                 <td>[% attrs.isbns.0 | html %]</td>
                                                             </tr>
                                                         [% END %]
+                                                        [%- IF attrs.issns.size > 0 %]
+                                                            <tr name="results_issn_tr">
+                                                                <td valign="top">
+                                                                    <strong>[% l('ISSN:') %]</strong>
+                                                                </td>
+                                                                <td>[% attrs.issns.0 | html %]</td>
+                                                            </tr>
+                                                        [%- END %]
                                                         [%- IF openurl.enabled == 'true';
                                                             FOREACH issn IN args.issns;
                                                                 NEXT IF issn == '';