Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Emmi Takkinen b1731a54e5
Bug 30403: Add syspref UpdateNotForLoanStatusOnCheckout
We currently have syspref UpdateNotForLoanStatusOnCheckin which updates
notforloan status when item is checked in. We should also have
same kind of syspref for check outs. This would be usefull if for
example library has item in exhibition with status
"In exhibition, available for loan". When patron check outs the
item notforloan status can be reseted back to 0, informing staff
that the item is back on circulation.

This patch adds new syspref Add syspref UpdateNotForLoanStatusOnCheckout.

To test:
1. Set items notforloan status as e.g -1.
2. Check out item for a patron.
=> Note that items status doesn't change.
3. Apply patch and update database if needed.
4. Add "-1: 0" to syspref UpdateNotForLoanStatusOnCheckout.
5. Check item in and out again for a patron.
=> Note that items status is changed as 0.

Also prove t/db_dependent/Circulation/issue.t

Sponsored-by: Koha-Suomi Oy

Signed-off-by: Catrina <catrina@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-06 10:45:04 -03:00
..
accounting.pref Bug 31730: (QA follow-up) Only link category name 2022-10-24 17:31:11 -03:00
acquisitions.pref Bug 31984: TaxRate preference - add note about vendor updates 2022-12-07 14:23:14 -03:00
admin.pref Bug 32355: Add css class url to URL syspref 2022-12-13 08:43:24 -03:00
authorities.pref Bug 30025: Replace AllowManualAuthorityEditing with RequireChoosingExistingAuthority 2022-09-16 16:48:34 -03:00
cataloguing.pref Bug 31123: Add ContentWarningField preference 2023-04-06 10:44:57 -03:00
circulation.pref Bug 30403: Add syspref UpdateNotForLoanStatusOnCheckout 2023-04-06 10:45:04 -03:00
enhanced_content.pref Bug 32355: Add css class url to URL syspref 2022-12-13 08:43:24 -03:00
erm.pref Bug 32147: Capitalization: E-Resource management 2022-11-16 08:46:20 -03:00
i18n_l10n.pref Bug 31886: Fix no sidebar problem in system pref search 2022-10-24 10:37:31 -03:00
interlibrary_loans.pref Bug 32799: Rename ILLSTATUS authorised value category to ILL_STATUS_ALIAS 2023-02-27 13:08:10 -03:00
local_use.pref Bug 31952: (QA follow-up) Fix capitalization: Local Use 2022-10-27 09:36:44 -03:00
logs.pref Bug 32057: Add optional stack trace to action logs 2023-03-14 08:49:32 -03:00
opac.pref Bug 32964: (follow-up) Additional rewording for XSLT item display 2023-03-30 12:31:36 +02:00
patrons.pref Bug 33058: Update "fines" to "charges" for viewing a guarantees charges 2023-03-16 16:25:48 -03:00
searching.pref Bug 32355: Add css class url to URL syspref 2022-12-13 08:43:24 -03:00
serials.pref Bug 31886: Fix no sidebar problem in system pref search 2022-10-24 10:37:31 -03:00
staff_interface.pref Bug 30036: Fix trivial typo 2022-10-27 09:56:14 -03:00
tools.pref
web_services.pref