Koha-clms/installer/data/mysql/mandatory
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
..
account_credit_types.sql Bug 23012: Database updates for PROCESSING_FOUND account credit type 2022-10-24 17:43:23 -03:00
account_debit_types.sql Bug 27946: (QA follow-up) Remove 'scan' terminology, requests may not be scans 2022-01-28 11:09:07 -10:00
audio_alerts.sql Bug 23895: Move installer file into the mandatory directory 2020-10-14 14:50:07 +02:00
auth_val_cat.sql Bug 32799: Rename ILLSTATUS authorised value category to ILL_STATUS_ALIAS 2023-02-27 13:08:10 -03:00
keyboard_shortcuts.sql Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
message_transport_types.sql Bug 25334: Add generic 'phone' message transport type 2020-11-05 15:24:20 +01:00
sample_notices_message_attributes.sql Bug 30484: Add ILL update notice 2022-09-23 09:18:45 -03:00
sample_notices_message_transports.sql Bug 30484: Add ILL update notice 2022-09-23 09:18:45 -03:00
subtag_registry.sql Bug 31715: Add German translations for language descriptions 2022-10-24 11:48:19 -03:00
sysprefs.sql Bug 30403: Add syspref UpdateNotForLoanStatusOnCheckout 2023-04-06 10:45:04 -03:00
userflags.sql Bug 30624: Add loggedinlibrary permission and DB update 2023-03-13 15:22:59 -03:00
userpermissions.sql Bug 20256: Update database 2023-02-02 11:53:20 -03:00