[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 9dcca3fcbca4a3ac96039275185603843a7ff107

Evergreen Git git at git.evergreen-ils.org
Fri Sep 21 16:21:00 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, rel_2_2 has been updated
       via  9dcca3fcbca4a3ac96039275185603843a7ff107 (commit)
      from  e1014dff83a6a1cab910315a430a426bdc40755d (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 9dcca3fcbca4a3ac96039275185603843a7ff107
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