[Koha-bugs] [Bug 33887] Automatic checkin should be able to optionally fill the next hold with the returned item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 15 20:34:23 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33887

--- Comment #7 from Sam Lau <samalau at gmail.com> ---
Created attachment 152392
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152392&action=edit
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 :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list