From: McCanna Date: Mon, 4 Dec 2017 22:51:00 +0000 (-0500) Subject: PINES OPAC Fix: Holdings Navigation X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=22e0178ff12057814920dde040b91da3db1f8aab;p=evergreen%2Fpines.git PINES OPAC Fix: Holdings Navigation Add in OPAC code from Master to calculate the number of copies. Signed-off-by: McCanna --- diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 index 1c495ca651..f2b887dcb6 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -30,8 +30,7 @@ IF has_copies or ctx.foreign_copies; depth = CGI.param('copy_depth').defined ? CGI.param('copy_depth') : CGI.param('depth').defined ? CGI.param('depth') : ctx.copy_summary.last.depth; total_copies = ctx.copy_summary.$depth.count; %] -[% use_courses = (ctx.get_org_setting(ctx.aou_tree.id, 'circ.course_materials_opt_in') == 1) ? 1 : 0 %] - +
[% IF serial_holdings -%]