Koha-clms/installer/data/mysql/mandatory
Sam Lau 57b1cadc4e
Bug 33887: Add the ability to optionally fill the next hold when an item is automatically checked in.
When an item is automatically checked in, Koha should be able to trap that item for the next patron and send a notification to that patron that a hold is waiting for them.

To test:
1. Apply patches
2. restart_all and updatedatabase
3. Go to administration -> item types and edit an item type
4. Make sure the checkbox that is labeled ‘Automatic checkin:’ is checked. At the bottom of the page click save changes.
5. In Administration -> system preferences, search for ‘AutomaticCheckinAutoFill’ and set it to ‘Do’.
6. Check out an item to a patron and make it overdue (.ie set due date to yesterday). Also make sure that the item type you are checking out matches the item type edited in step 4.
7. Place a hold on the item. Make the pickup location the same as the library it is checked out from.
8. Run cronjob at misc/cronjobs/automatic_checkin.pl
9. On the item details page, notice that the item was checked in and now the hold is waiting for pickup.
10. Visit the patron’s page who placed the hold.
11. Click on the notices tab and see that there is a ‘Hold available for pickup’ notice.
12. Repeat steps 6-8, but this time make the hold pickup location different than the library the item is currently checked out to.
13. Notice that this time, the item was checked in, the hold is waiting, and the item is in transit to the other library.
14. If you visit the patron’s page, this time there should be no new notice because the item is still in transit.
15. Sign-Off :)

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-25 12:09:52 -03: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 33105: DB changes 2023-07-20 10:59:21 -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 8838: Add digest option for HOLD notice 2023-10-25 11:07:48 -03:00
subtag_registry.sql Bug 33128: Add Polish translations for language descriptions 2023-04-24 10:43:45 -03:00
sysprefs.sql Bug 33887: Add the ability to optionally fill the next hold when an item is automatically checked in. 2023-10-25 12:09:52 -03:00
userflags.sql Bug 30708: DB changes 2023-10-18 15:41:41 -03:00
userpermissions.sql Bug 34844: Add manage_item_editor_templates to userpermissions.sql 2023-09-22 10:52:44 -03:00