Do not hide copy counts from results in staff client. user/jamesrf/988153_tpac_copy_count
authorBen Shum <bshum@biblio.org>
Wed, 25 Apr 2012 03:23:04 +0000 (23:23 -0400)
committerJames Fournie <jfournie@sitka.bclibraries.ca>
Wed, 25 Apr 2012 15:17:15 +0000 (11:17 -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: James Fournie <jfournie@sitka.bclibraries.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,