From 0a14381748df3f49d246634f239f84a0c9e9f96d 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 --- 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..bb02a80a41 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