[open-ils-commits] [GIT] Evergreen ILS branch master updated. 462a352a44553f4815536c9de595570685bfcd83

Evergreen Git git at git.evergreen-ils.org
Sat Feb 8 16:12:52 EST 2014


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  462a352a44553f4815536c9de595570685bfcd83 (commit)
      from  aa8ea3ca943785ea982d87ad2bf51419812786f2 (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 462a352a44553f4815536c9de595570685bfcd83
Author: Ben Shum <bshum at biblio.org>
Date:   Sat Feb 8 11:14:23 2014 -0500

    Fix copy_info variables one last time for library_name_link purposes
    
    In cd056eba75038c6a1fabd2a83ba97d81a444bc75, I fixed record by inadvertently
    passing around the wrong variables. In fact, we do not need the value set
    there, and we broke results view as a result of the swap around.
    
    Put things right what once went wrong.
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
index 2681993..a194218 100644
--- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
@@ -94,9 +94,7 @@ END; # FOREACH bib
                 [%- copy_info.holding_label | html; -%]
             </td>
             [%- ELSE %]<td headers='copy_header_library'>
-            [%- copy = copy_info;
-                INCLUDE "opac/parts/library_name_link.tt2";
-            -%]
+            [%- INCLUDE "opac/parts/library_name_link.tt2"; -%]
                 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
                 <link property="itemOffered" href="#schemarecord">
             </td>[% END %]
diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2
index e960a63..3d77b90 100644
--- a/Open-ILS/src/templates/opac/parts/result/table.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/table.tt2
@@ -247,7 +247,7 @@ END;
                                                                 [% FOR copy IN args.holdings %]
                                                                         <tr>
                                                                             <td>
-[%- copy = copy_info;
+[%- copy_info = copy;
     INCLUDE "opac/parts/library_name_link.tt2"; %]
                                                                             </td>
                                                                             <td>[% copy.location | html %]</td>

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

Summary of changes:
 .../src/templates/opac/parts/record/copy_table.tt2 |    4 +---
 Open-ILS/src/templates/opac/parts/result/table.tt2 |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list