[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 4b897789465945f285a841b3591929040ce71199

Evergreen Git git at git.evergreen-ils.org
Tue Aug 22 10:49:02 EDT 2017


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_12 has been updated
       via  4b897789465945f285a841b3591929040ce71199 (commit)
       via  1d903b5ac1c5e43dde4d67f646a2a307aaf8773b (commit)
      from  a7241d766a44fbef68bdff78b7a4238b652de6ae (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 4b897789465945f285a841b3591929040ce71199
Author: Dan Scott <dan at coffeecode.net>
Date:   Wed Jul 12 10:07:23 2017 -0400

    LP#1703678 Display foreign item location and status
    
    We were using copy_info instead of the foreign item's data to try to display
    location and status of foreign items. As copy_info had not been initialized,
    it displayed nothing. Use the foreign item data instead for location and
    status.
    
    Signed-off-by: Dan Scott <dan at coffeecode.net>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

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 19965a0..b4b6940 100644
--- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
@@ -67,8 +67,8 @@ END;
     </td>
     <td>[% bib.target_copy.call_number.label | html %]</td>
     <td>[% bib.target_copy.barcode | html %]</td>
-    <td>[% copy_info.copy_location | html %]</td>
-    <td>[% copy_info.copy_status | html %]</td>
+    <td>[% bib.target_copy.location.name | html %]</td>
+    <td>[% bib.target_copy.status.name | html %]</td>
     <td>[% copy_info.due_date | html %]</td>
 </tr>
    [%- END; # FOREACH peer

commit 1d903b5ac1c5e43dde4d67f646a2a307aaf8773b
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Tue May 31 15:51:47 2016 -0400

    LP#1703678 Show foreign copies even if only one
    
    If a record has no copies of its own, but it does have a foreign copy
    on a peer bib, show that copy info (and the link to the other record).
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

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 c6ab1aa..19965a0 100644
--- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
@@ -25,7 +25,7 @@ FOREACH copy_info IN copies;
     END;
 END;
 -%]
-[%- IF has_copies; %]
+[%- IF has_copies or ctx.foreign_copies; %]
 <table class="table_no_border_space table_no_cell_pad table_no_border" width="100%" id="rdetails_status">
     <thead>
         <tr>

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

Summary of changes:
 .../src/templates/opac/parts/record/copy_table.tt2 |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list