From 011d07e9f9c31e65541b8273649a4f31d90738ce Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Sun, 12 Nov 2023 21:23:32 +0000 Subject: [PATCH] Bug 35293: Add ONLYMESSAGE back into UpdateNotForLoanStatusOnCheckin syspref description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sponsored-by: Catalyst IT, New Zealand Signed-off-by: Anneli Österman --- .../modules/admin/preferences/circulation.pref | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 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 40f2d65a81..0ce5e1919e 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 @@ -651,11 +651,18 @@ Circulation: type: textarea syntax: text/x-yaml class: code - - This is a list of value pairs. When an item is checked in, if the not for loan value on the left matches the items not for loan value it will be updated to the right-hand value. - - "For example, '-1: 0' will cause an item that was set to 'Ordered' to now be available for loan." - - "Can be used for showing only the not for loan description. E.g. '-1: ONLYMESSAGE'.
" - - "Each pair of values should be on a separate line.
" - - "Valid values are NOT_LOAN authorized values and ONLYMESSAGE." + - "This is a list of item types and value pairs.

" + - "Examples:
" + - "_ALL_:
" + - " -1: 0

" + - "CR:
" + - " 1: 0

" + - "BK:
" + - " -1: ONLYMESSAGE

" + - "When an item is checked in, if it's item type matches CR then when the value on the left (1) matches the items' not for loan value it will be updated to the value on the right.

The special term _ALL_ is used on the left side of the colon (:) to affect all item types, this does not override all other rules

" + - "Each item type needs to be defined on a separate line on the left side of the colon (:).
Each pair of not for loan values, for that item type, should be listed on separate lines below the item type, each indented by a leading space

" + - "Valid values are NOT_LOAN authorized values and ONLYMESSAGE.

" + - "ONLYMESSAGE can be used for showing only the not for loan description. E.g. '-1: ONLYMESSAGE'

" - - pref: HidePersonalPatronDetailOnCirculation choices: -- 2.30.2