[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. 9334ba6042635aafb088cfc3940eb4636e228212

Evergreen Git git at git.evergreen-ils.org
Thu Jul 5 15:13:58 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_0 has been updated
       via  9334ba6042635aafb088cfc3940eb4636e228212 (commit)
      from  3bc7e09540fab979134084f301021afe923cbaf1 (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 9334ba6042635aafb088cfc3940eb4636e228212
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 5d25e11..17158e2 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
@@ -339,8 +339,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