Clearing some fields in holdings editor does not work as expected when multiple values exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When editing a batch of items in the holdings editor, the following fields have multiple possible values, including NONE.
Age-based Hold Protection
Circulation Modifier
Circulate as Type
Floating
Here's a use case:
Three items have different values for Age-Based Hold protection and should have no value for that field.
Attempt to update them as follows:
- Enter the items into Item Status
- Select all items and, under Actions, choose Edit Items
- The dropdown field for Age-based Hold Protection displays NONE, click in the field to open the dropdown, and choose NONE
- Click Save & Exit
The Item Status screen indicates that the update succeeded, but the Age-based Hold Protection field in the items has not changed.
The other listed fields behave similarly.
There is a workaround, if you first choose another field from the dropdown, then open the dropdown again and choose NONE, the items will be edited successfully.
Another point of confusion when doing batch edits like this is that these fields display NONE whether they have been selected as part of the update or left untouched. This makes it visually unclear which fields will actually be updated.
Screencasts forthcoming
Changed in evergreen: | |
status: | New → Confirmed |
I can confirm I'm seeing this in 3.3.3.
Visually it would be better if those fields were initially blank (like Status and Shelving Location) instead of displaying NONE when there are multiple values for the field. The fields should only display NONE if there truly are NONE selected for the items being edited.