From fafed7361075166fbb306f53157dbb03ce2b5758 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Thu, 25 Feb 2021 09:58:23 -0500 Subject: [PATCH] LP 1916904 Bootstrap OPAC: Call number on Search Results Page This adds the call number to the search results page when "Show More Details" is not selected. (This brings back the same behavior as the pre-bootstrap OPAC.) Signed-off-by: Terran McCanna --- Open-ILS/src/templates-bootstrap/opac/parts/result/table.tt2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/result/table.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/result/table.tt2 index 861a31517d..58105871b5 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/result/table.tt2 @@ -174,7 +174,11 @@ [%- END; END; -%] - + [%- IF !show_detail_view AND args.holdings.size > 0 %] +
+ [% l('Call number:') %] [% args.holdings.0.label | html %] +
+ [% END %] [% IF rec.popularity > 0.0 AND ctx.hide_badge_scores != 'true' %]
[% l('Popularity:') %] [% rec.popularity %] / 5.0
-- 2.11.0