From c451e0f4eb3a38de31ae1e0768621351626fc186 Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Thu, 10 Apr 2014 23:36:37 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/parts/misc_util.tt2 | 3 --- Open-ILS/src/templates/opac/parts/result/table.tt2 | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) 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; -- 2.11.0