Bug 30787 - Holds to pull list does not show available item when item has had wrong transfer
Summary: Holds to pull list does not show available item when item has had wrong transfer
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: 21.11
Hardware: All All
: P5 - low enhancement
Assignee: Slava Shishkin
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-17 10:12 UTC by Minna Kivinen
Modified: 2024-07-04 20:37 UTC (History)
3 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Minna Kivinen 2022-05-17 10:12:52 UTC
If an item has had wrong transfer at some point (at branchtransfers -table there shows wrong transfer for that item) that item does not show on holds to pull -list even it is available at the moment.
Comment 1 Katrin Fischer 2022-07-17 12:06:45 UTC
Hi Minna, could you add a test plan on how to reproduce this bug?
Comment 2 Minna Kivinen 2022-08-15 11:29:13 UTC
Steps to reproduce the problem:

Use Koha settings where it is allowed to return items to any branch no matter of item homebranch. 

1. Item has homebranch A. Item is not loaned.
2. Make biblio-level hold, pickup branch B
3. Check in the item at branch C and confirm hold&transfer
4. Cancel hold
5. Check in the item at branch A (item homebranch) > Koha says "Wrong transfer. Return the item to branch B" (branch that was pickup branch for the hold that was cancelled). Cancel transfer at this popup window
6. Make a new hold to the biblio for original item.
Now the item is available at it's homebranch A, but is not showing on the Holds to pull list.


There is now trick to get the item to show on the holds to pull -list after this happens. If there is "wrong transfer" on the barchtransfers -table, it is not coming on the list no matter how many times it is checked in at the home branch.
Comment 3 Aude Charillon 2023-01-18 17:33:10 UTC
I was able to reproduce this bug exactly on a 21.11.11 instance following the steps set out by Minna Kivinen. Before I followed the steps I created a brand new item and placed a hold on the title it was attached to; it correctly appeared in the Holds to pull. After following Minna's steps the title was not appearing in the Holds to pull, even though an item was available at its homebranch. It was only appearing in the Holds queue.
Comment 4 Minna Kivinen 2023-01-23 09:05:25 UTC
I tested this bug in version 22.11. and it did not occur anymore.
Comment 5 Katrin Fischer 2023-10-28 14:51:32 UTC
As 21.11 is no longer supported and this has been reportedly fixed in newer versions, I am closing this one FIXED.