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@sigio.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
<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">