TTpac: show full 245 for title on record details page
authorBill Erickson <berick@esilibrary.com>
Wed, 10 Aug 2011 19:26:53 +0000 (15:26 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 10 Aug 2011 19:26:53 +0000 (15:26 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/templates/default/opac/parts/misc_util.tt2
Open-ILS/web/templates/default/opac/parts/record/summary.tt2

index 03382de..3b66ec8 100644 (file)
@@ -12,6 +12,7 @@
         args.upc = xml.findnodes('//*[@tag="024"]/*[@code="a"]').textContent;
         args.issn = xml.findnodes('//*[@tag="022"]/*[@code="a"]').textContent;
         args.title = xml.findnodes('//*[@tag="245"]/*[@code="a"]').textContent;
+        args.title_extended = xml.findnodes('//*[@tag="245"]').textContent;
         args.author = xml.findnodes('//*[@tag="100"]/*[@code="a"]').textContent;
         args.publisher = xml.findnodes('//*[@tag="260"]/*[@code="b"]').textContent;
         args.pubdate = xml.findnodes('//*[@tag="260"]/*[@code="c"]').textContent;
index 2473bc4..dea3461 100644 (file)
@@ -19,7 +19,7 @@
                 <table border="0" cellpadding="0" cellspacing="0" width="100%">
                     <tr>
                         <td valign="top">
-                            <span id='rdetail_title'>[% attrs.title %]</span><br />
+                            <span id='rdetail_title'>[% attrs.title_extended %]</span><br />
                             [% IF attrs.author %]
                             <span class='opac-auto-030'>[% l("Author") %]:</span>
                             <em><a title='[% l("Perform an author search") %]'