From 02e28179c8966351f2c2b4c18a57ccb052aa5ab3 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Wed, 17 Jan 2024 16:38:24 -0500 Subject: [PATCH] Bug 35831: Move UpdateItemLocationOnCheckout to Checkout policy section This patch moves the UpdateItemLocationOnCheckout system preference from the Checkin policy section of the circulation preferences to the Checkout policy section. To test: 1. Apply patch 2. Go to Administration > System preferences > Circulation 3. Check that UpdateItemLocationOnCheckout is under Checkout policy The text should be the same as before, and the feature should not have changed. Signed-off-by: Aude Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer (cherry picked from commit fceafbc496967b379f5f5a5f210e5ece75e5a7a9) Signed-off-by: Fridolin Somers --- .../admin/preferences/circulation.pref | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref index 0ce5e1919e..24ad80f763 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -546,6 +546,23 @@ Circulation: - "
itype: [NEWBK,\"\"]" - "
NOTE: The word 'NULL' can be used to block renewal on undefined fields, while an empty string \"\" will block on an empty (but defined) field." - "
Configuration: Collections (CCODE) | Item types" + - + - pref: UpdateItemLocationOnCheckout + type: textarea + syntax: text/x-yaml + class: code + - "This is a list of value pairs. The first value is followed immediately by colon space then the second value.

" + - "Examples:
" + - "PROC: FIC - causes an item in the Processing Center location to be updated into the Fiction location on check out.
" + - "FIC: GEN - causes an item in the Fiction location to be updated into the General stacks location on check out.
" + - "_BLANK_: FIC - causes an item that has no location to be updated into the Fiction location on check out.
" + - "FIC: _BLANK_ - causes an item in location FIC to be updated to a blank location on check out.
" + - "_ALL_: FIC - causes all items to be updated into the Fiction location on check out.
" + - "PROC: _PERM_ - causes an item that is in the Processing Center to be updated to it's permanent location.

" + - "General rule: if the location value on the left of the colon (:) matches the item's current location, it will be updated to match the location value on the right of the colon (:).
" + - "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.
" + - "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.
" + - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, and overrides all other rules." - - pref: UpdateNotForLoanStatusOnCheckout type: textarea @@ -629,23 +646,6 @@ Circulation: - "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.
" - "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.
" - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, and overrides all other rules." - - - - pref: UpdateItemLocationOnCheckout - type: textarea - syntax: text/x-yaml - class: code - - "This is a list of value pairs. The first value is followed immediately by colon space then the second value.

" - - "Examples:
" - - "PROC: FIC - causes an item in the Processing Center location to be updated into the Fiction location on check out.
" - - "FIC: GEN - causes an item in the Fiction location to be updated into the General stacks location on check out.
" - - "_BLANK_: FIC - causes an item that has no location to be updated into the Fiction location on check out.
" - - "FIC: _BLANK_ - causes an item in location FIC to be updated to a blank location on check out.
" - - "_ALL_: FIC - causes all items to be updated into the Fiction location on check out.
" - - "PROC: _PERM_ - causes an item that is in the Processing Center to be updated to it's permanent location.

" - - "General rule: if the location value on the left of the colon (:) matches the item's current location, it will be updated to match the location value on the right of the colon (:).
" - - "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.
" - - "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.
" - - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, and overrides all other rules." - - pref: UpdateNotForLoanStatusOnCheckin type: textarea -- 2.39.2