[open-ils-commits] [GIT] Evergreen ILS branch master updated. 463ac7ecfe29760e6f520e97e7145813c939ead9

Evergreen Git git at git.evergreen-ils.org
Tue Aug 9 13:06:09 EDT 2016


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  463ac7ecfe29760e6f520e97e7145813c939ead9 (commit)
      from  4c92d095da106a4c2a54bf26e392d5ad57938f4d (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 463ac7ecfe29760e6f520e97e7145813c939ead9
Author: Kathy Lussier <klussier at masslnc.org>
Date:   Fri Mar 4 20:51:04 2016 -0500

    LP#1576502 Fulfilled holds also should not display as active
    
    Once a hold has been fulfilled, the patron doesn't consider it active, so let's
    change the active status for those holds too.
    
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 b/Open-ILS/src/templates/opac/myopac/hold_history.tt2
index 3b8abb9..9aae602 100644
--- a/Open-ILS/src/templates/opac/myopac/hold_history.tt2
+++ b/Open-ILS/src/templates/opac/myopac/hold_history.tt2
@@ -60,7 +60,7 @@
                     <td><span>[% l('Author') %]</span></td>
                     <td> <span>[% l('Format') %]</span></td>
                     <td><span>[% l('Pickup Location') %]</span> </td>
-                    <td>[% l('Active On') %]</td>
+                    <td>[% l('Activate') %]</td>
                     <td>[% l('Active') %]</td>
                     <td>[% l('Date Fulfilled') %]</td>
                     <td><span>[% l('Status') %]</span></td>
@@ -102,11 +102,13 @@
                         END %]
                     </td>
                     <td>
-                        [% IF hold.hold.status == 6 %]
-                            [% l('Canceled') %]
-                        [% ELSE %]
-                            [% l(ahr.frozen == 'f' ? 'Active' : 'Suspended') %]
-                        [% END %]
+                        [% IF ahr.fulfillment_time;
+                             l('Fulfilled');
+                           ELSIF hold.hold.status == 6;
+                             l('Canceled'); 
+                           ELSE; 
+                             l(ahr.frozen == 'f' ? 'Active' : 'Suspended');
+                        END %]
                     </td>
                     <td>
                         [% IF ahr.fulfillment_time;

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

Summary of changes:
 .../src/templates/opac/myopac/hold_history.tt2     |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list