From: Ben Shum Date: Wed, 25 Apr 2012 03:23:04 +0000 (-0400) Subject: Do not hide copy counts from results in staff client. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=02b1d5a7b221dc4c6466f55ce175ead0c7dc069e;p=evergreen%2Fmasslnc.git 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 --- 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,