[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 8cf7ead11f42ea7cb661497d6609a11713f78371

Evergreen Git git at git.evergreen-ils.org
Thu Jul 5 15:13:52 EDT 2018


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_3_1 has been updated
       via  8cf7ead11f42ea7cb661497d6609a11713f78371 (commit)
      from  132669daa4f43736ae150e17a13726fa891d59d1 (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 8cf7ead11f42ea7cb661497d6609a11713f78371
Author: Jason Stephenson <jason at sigio.com>
Date:   Thu May 24 09:34:17 2018 -0400

    LP 1772993: Ability to blank Age Hold Protection in Vol/Copy Editor.
    
    Add the <NONE> option to the age-based hold protection field in the
    web staff client Vol/Copy Editor.
    
    To test:
    
    1. Add a value for age-based hold protection to a copy.
    
    2. Attempt to remove the value in the copy editor.  Note that the
       dropdown does not allow you to do so.
    
    3. Apply this commit.
    
    4. Repeat step 2.  Now there is a <NONE> option that removes the value
       from the copy.
    
    Signed-off-by: Jason Stephenson <jason at sigio.com>
    Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>

diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2
index 9d6d2a4..0818af5 100644
--- a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2
+++ b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2
@@ -338,8 +338,9 @@
                 <div class="col-md-6" ng-class="{'bg-success': working.age_protect !== undefined}">
                     <select class="form-control"
                         ng-disabled="!defaults.attributes.age_protect" ng-model="working.age_protect"
-                        ng-options="a.id() as a.name() for a in age_protect_list"
-                    ></select>
+                        ng-options="a.id() as a.name() for a in age_protect_list">
+                      <option value="">[% l('<NONE>') %]</option>
+                    </select>
                 </div>
                 <div class="col-md-6" ng-class="{'bg-success': working.mint_condition !== undefined}">
                     <div class="row">

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

Summary of changes:
 .../templates/staff/cat/volcopy/t_attr_edit.tt2    |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list