[Koha-patches] [PATCH] [SIGNED-OFF] Displaying the unavailability of items corrected

Owen Leonard oleonard at myacpl.org
Fri May 27 16:01:34 CEST 2011


From: Janusz Kaczmarek <januszop at gmail.com>

http://bugs.koha-community.org/show_bug.cgi?id=6357

Signed-off-by: Owen Leonard <oleonard at myacpl.org>
---
 .../opac-tmpl/prog/en/modules/opac-results.tt      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
index e08e31b..7666c74 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
@@ -437,7 +437,7 @@ $(document).ready(function(){
 
 				<span class="results_summary">
                 <span class="label">Availability:</span>
-                    [% IF ( SEARCH_RESULT.available_items_loop ) %]
+                    [% IF ( SEARCH_RESULT.available_items_loop.0 ) %]
                     <span class="available"><strong>Copies available:</strong>
                     [% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %]
                     [% UNLESS ( available_items_loo.hideatopac ) %]
-- 
1.7.3



More information about the Koha-patches mailing list