Remove one of the two places we define the pubinfo variable in misc_util.tt2
and then change the way search results pull in publisher data.
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
END;
args.pubdate = (args.pubdates.size) ? args.pubdates.0 : '';
- # Full publisher info
- args.pubinfo = "$args.pubplace $args.publisher $args.pubdate";
-
# Get RDA Copyright Info.
args.copyrights = [];
FOR sub IN xml.findnodes('//*[@tag="264" and @ind2="4"]/*[@code="c"]');
[% IF CGI.param('detail_record_view') %]
<!-- These fields are visible when viewing the results page in 'detailed' mode -->
- [% IF attrs.pubinfo %]
+ [% IF attrs.publisher %]
<tr name="results_pub_tr">
<td valign="top">
<strong>[% l('Publisher:') %]</strong>
</td>
- <td>[% attrs.pubinfo | html %]
+ <td>[% attrs.pubplace | html; %] [% attrs.publisher | html; %] [% attrs.pubdate | html; %]
[%-
FOR entry IN attrs.graphic_pubinfos;
FOR alt IN entry.graphic;