[open-ils-commits] [GIT] Evergreen ILS branch master updated. 02b1d5a7b221dc4c6466f55ce175ead0c7dc069e

Evergreen Git git at git.evergreen-ils.org
Fri Apr 27 16:24:58 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  02b1d5a7b221dc4c6466f55ce175ead0c7dc069e (commit)
      from  ee18ec89dda3c34c7570b4296cfa644e9abfbf93 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 02b1d5a7b221dc4c6466f55ce175ead0c7dc069e
Author: Ben Shum <bshum at biblio.org>
Date:   Tue Apr 24 23:23:04 2012 -0400

    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 <bshum at biblio.org>
    Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

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 639877e..1bbc357 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;
 %]
 <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,

-----------------------------------------------------------------------

Summary of changes:
 .../templates/opac/parts/result/copy_counts.tt2    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list