Bug 31349 - Add option to not update items.permanent_location when editing items.location
Summary: Add option to not update items.permanent_location when editing items.location
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-12 14:18 UTC by Andrew Fuerste-Henry
Modified: 2023-12-28 20:42 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2022-08-12 14:18:49 UTC
Generally, when one edits the shelving location (items.location) of an item, Koha also updates the permanent shelving location (items.permanent_location) to match. However, some libraries prefer to make it possible to edit the location without updating the permanent location. This allows one to set an item to a temporary location that automatically clears at checkin using the UpdateItemLocationOnCheckin syspref.

That setup currently relies upon editing frameworks to make permanent location an editable field. That setup has proven fragile, as shown in bug 27837, bug 28832, bug 30909, and bug 31187. I suggest adding a more specific mechanism for this workflow in hopes that it will remain more stable and usable.

In the item edit and item batch mod screens, we could put a checkbox next to the field for shelving location. The checkbox is labeled "Update permanent shelving location" and is checked by default. If one un-checks it, that edit will only update shelving location, not permanent location.

The checkbox could be hidden with CSS if one doesn't want to use this feature. Or, if folks prefer, we could create a system preference to show/hide it.
Comment 1 Andrew Fuerste-Henry 2023-04-21 15:25:15 UTC
Apparently I posited a different solution on 30910, one I like better. Good job, other me.