Koha/cataloguing
Jonathan Druart 346be764e7 Bug 30909: Retain permanent_location if mapped
If items.permanent_location is mapped to a MARC subfields we must retain
the value, not using items.location

Test plan:
1 - Map permanent_location to a marc field
2 - Expose that field in the item editor
3 - Change the location of the item and retain the permanent location on saving
4 - note that permanent location has not changed

Test the different other situation, when adding and editing: Empty the field, change only location, change only permanent_location, etc.

Signed-off-by: andrew <andrewfh@dubcolib.org>

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e2668a6857)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2022-09-16 15:16:46 +00:00
..
value_builder Bug 30716: Add collection to cn_browser results 2022-08-09 22:29:46 +00:00
addbiblio.pl Bug 29511: Sort hash keys 2022-01-28 21:52:54 -10:00
addbooks.pl Bug 29391: Improve output of reservoir search 2022-01-09 21:04:17 -10:00
additem.pl Bug 30909: Retain permanent_location if mapped 2022-09-16 15:16:46 +00:00
editor.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
linkitem.pl Bug 18984: Remove NORMARC support 2021-10-07 15:36:40 +02:00
merge.pl Bug 22690: (QA follow-up) Move adopt_items_from_biblios to Koha::Items 2021-08-27 11:02:41 +02:00
merge_ajax.pl Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
moveitem.pl Bug 29179: Remove useless includes in moveitem.pl 2021-10-07 10:54:59 +02:00
plugin_launcher.pl
ysearch.pl Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
z3950_auth_search.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
z3950_search.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00