From: Ben Shum Date: Fri, 11 Apr 2014 03:36:37 +0000 (-0400) Subject: LP#1304462: Stop using combined pubinfo for search results X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=76bd5e3d022402d92bd0d96a8bf423d58eb32a72;p=evergreen%2Fmasslnc.git LP#1304462: Stop using combined pubinfo for search results 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 Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/templates/opac/parts/misc_util.tt2 b/Open-ILS/src/templates/opac/parts/misc_util.tt2 index 9fc373efdf..6788c75ced 100644 --- a/Open-ILS/src/templates/opac/parts/misc_util.tt2 +++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2 @@ -201,9 +201,6 @@ 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"]'); diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index cd7365d8d5..ba4f52ec4f 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -168,12 +168,12 @@ END; [% IF CGI.param('detail_record_view') %] - [% IF attrs.pubinfo %] + [% IF attrs.publisher %] [% l('Publisher:') %] - [% attrs.pubinfo | html %] + [% attrs.pubplace | html; %] [% attrs.publisher | html; %] [% attrs.pubdate | html; %] [%- FOR entry IN attrs.graphic_pubinfos; FOR alt IN entry.graphic;