From 0d0cc97fa8b58e0044ecc44633e5c109d551be72 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 16 Aug 2011 16:02:17 -0400 Subject: [PATCH] T-PAC: Do not display a call number if we don't have one Electronic records might not have a call number, so don't try to display one if there isn't one (in search results). Signed-off-by: Dan Scott --- Open-ILS/src/templates/default/opac/parts/result/table.tt2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/default/opac/parts/result/table.tt2 b/Open-ILS/src/templates/default/opac/parts/result/table.tt2 index 6593342a08..e6343d42b6 100644 --- a/Open-ILS/src/templates/default/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/default/opac/parts/result/table.tt2 @@ -69,12 +69,14 @@ + [% IF args.holdings.size > 0 %] - + + [% END %] [% IF CGI.param('detail_record_view') %] -- 2.43.2
[% l('Call number:') %] [% args.holdings.0 %][% args.holdings.0.label %]