From: Ben Shum Date: Fri, 11 Apr 2014 03:36:37 +0000 (-0400) Subject: Stop using combined pubinfo for search results X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c451e0f4eb3a38de31ae1e0768621351626fc186;p=working%2FEvergreen.git 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 --- diff --git a/Open-ILS/src/templates/opac/parts/misc_util.tt2 b/Open-ILS/src/templates/opac/parts/misc_util.tt2 index 3b164775d8..c10e832435 100644 --- a/Open-ILS/src/templates/opac/parts/misc_util.tt2 +++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2 @@ -175,9 +175,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 483d529c07..25a8f713d6 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -160,12 +160,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;