From 879c459db9d50a5e7b6e41061a996bd04e3429a8 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 12 Sep 2012 12:59:53 -0400 Subject: [PATCH] TPAC: Results - don't show the pubdate if we're showing full pubinfo In the "show few details" mode, we show just the pubdate; in the "show full details" mode, we're showing the full pubinfo and therefore do not need to show the stubby pubdate. Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/src/templates/opac/parts/result/table.tt2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index 647e58e1e6..45ddd61d60 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -62,6 +62,11 @@ authorquery = attrs.author | replace('[,\.:;]', ''); mkurl(ctx.opac_root _ '/results', {qtype => 'author', query => authorquery}, ['page']) -%]">[% attrs.author | html %] + [%- UNLESS CGI.param('detail_record_view') + OR (show_more_details.default == 'true' + OR show_more_details.default == 'hide') + %] [% attrs.pubdate | html %] + [%- END -%] -- 2.11.0