From 02b1d5a7b221dc4c6466f55ce175ead0c7dc069e Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Tue, 24 Apr 2012 23:23:04 -0400 Subject: [PATCH] Do not hide copy counts from results in staff client. Remove the check for whether you are a staff login or not. Ideally, we would want the copy counts to be displayed in both public catalog and staff client. Signed-off-by: Ben Shum Signed-off-by: Olli-Antti Kivilahti Signed-off-by: Dan Scott --- Open-ILS/src/templates/opac/parts/result/copy_counts.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/result/copy_counts.tt2 b/Open-ILS/src/templates/opac/parts/result/copy_counts.tt2 index 639877e9d6..1bbc357efc 100644 --- a/Open-ILS/src/templates/opac/parts/result/copy_counts.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/copy_counts.tt2 @@ -7,7 +7,7 @@ IF attrs.copy_counts.$depth.count > 0; %]
-[% IF ctx.get_aou(attrs.copy_counts.$depth.org_unit).opac_visible == 't' AND !ctx.is_staff %] +[% IF ctx.get_aou(attrs.copy_counts.$depth.org_unit).opac_visible == 't' %] [% l('[_1] of [quant,_2,copy,copies] available at [_3].', attrs.copy_counts.$depth.available, attrs.copy_counts.$depth.count, -- 2.11.0