Do not hide copy counts from results in staff client.
authorBen Shum <bshum@biblio.org>
Wed, 25 Apr 2012 03:23:04 +0000 (23:23 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 27 Apr 2012 20:24:17 +0000 (16:24 -0400)
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 <bshum@biblio.org>
Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/result/copy_counts.tt2

index 639877e..1bbc357 100644 (file)
@@ -7,7 +7,7 @@
         IF attrs.copy_counts.$depth.count > 0;
 %]
 <div class="result_count">
-[% 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,