From bb5a12cf0c1376321683ec59284d2953f3d30ebc 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 Signed-off-by: Garry Collum Signed-off-by: Chris Sharp --- 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 8395412829..6b0726ac56 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/result/table.tt2 @@ -166,7 +166,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