]> git.koha-community.org Git - koha.git/commit
Bug 35293: Re-implement bug 30407 functionality
authorAlex Buckley <alexbuckley@catalyst.net.nz>
Sun, 12 Nov 2023 21:26:42 +0000 (21:26 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 11 Jan 2024 11:10:40 +0000 (12:10 +0100)
commita0f83767a81a1593f21f152d63fb493c14b8c85f
tree328fefae0c5b2bf3fa2e5049ff89e7911cf956d9
parent16c199e3f441112a961acf207ebed02bbefc47ec
Bug 35293: Re-implement bug 30407 functionality

To test:
1. Set a book items notforloan status as -1 and set the AllowNotForLoanOverride system preference to 'Allow'
2. Add the following lines to UpdateNotForLoanStatusOnCheckin (the
formatting and indentation is important to keep):

BK:
 -1: ONLYMESSAGE

3. Check a book item out for patron.
4. Check book item in.
=> Description of notforloan status should be displayed under 'Check in message'.
=> Confirm notforloan status HAS changed.

5. Apply patch and update database if needed
6. Set book items notforloan status as -1 (or create new one)
7. Check book item out for patron.
8. Check book item in.
=> Description of notforloan status should be displayed under 'Check in
message'.
=> Confirm notforloan status HAS NOT changed.

Also prove t/db_dependent/Circulation/issue.t

Sponsored-by: Catalyst IT, New Zealand
Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Circulation.pm