Bug 38509 - Set correct transfer when a hold exists
Summary: Set correct transfer when a hold exists
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-21 14:44 UTC by Baptiste Wojtkowski (bwoj)
Modified: 2025-11-26 09:40 UTC (History)
4 users (show)

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


Attachments
Bug 38509 - Displayed transfer destination is incorrect when a reservation has been found (2.86 KB, patch)
2024-11-21 14:54 UTC, Baptiste Wojtkowski (bwoj)
Details | Diff | Splinter Review
Bug 38509: [22.11] Displayed transfer destination is incorrect when a reservation has been found (1.69 KB, patch)
2024-11-21 15:02 UTC, Baptiste Wojtkowski (bwoj)
Details | Diff | Splinter Review
Bug 38509: Displayed transfer destination is incorrect when a reservation has been found (2.86 KB, patch)
2024-11-21 15:02 UTC, Baptiste Wojtkowski (bwoj)
Details | Diff | Splinter Review
Bug 38509: Set correct transfer when a hold exists (4.88 KB, patch)
2025-08-29 08:03 UTC, Thibaud Guillot (thibaud_g)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste Wojtkowski (bwoj) 2024-11-21 14:44:17 UTC Comment hidden (obsolete)
Comment 1 Baptiste Wojtkowski (bwoj) 2024-11-21 14:54:47 UTC Comment hidden (obsolete)
Comment 2 Baptiste Wojtkowski (bwoj) 2024-11-21 15:02:00 UTC Comment hidden (obsolete)
Comment 3 Baptiste Wojtkowski (bwoj) 2024-11-21 15:02:47 UTC Comment hidden (obsolete)
Comment 4 Baptiste Wojtkowski (bwoj) 2024-11-21 15:40:57 UTC Comment hidden (obsolete)
Comment 5 Thibaud Guillot (thibaud_g) 2025-08-29 08:03:29 UTC
Created attachment 185882 [details] [review]
Bug 38509: Set correct transfer when a hold exists

When you transfer a reserved item, a pop up appears. Depending on your
action, if you choose to transfer the item anyway, the flow is not
normal afterwards:

- Item is not added to branchtransfers sql tables (so neither in
  "Transfer to receive" section)
- It does not appear in the list under the transfer action
- Its homebranch is immediately that of destination site

Test plan:
1) Place hold on item specific or not, with pickup library different
   than current library for a real case
2) Transfer this item to another library (library choose for pickup for
   example)
3) You will see a pop up (with incorrect label destination)
4) After confirm it, pop up disappears and none transfer is saved in
   branchtransfers table (neither in 'transfer to receive' section)
5) On biblio page you will already see item with new homebranch
6) Apply this patch and restart_all
7) Perform the same action, place a hold then transfer item
8) Pop up shows now the correct label destination
9) Transfer will be correctly performed, appears in branchtransfers sql
   table and 'transfer to receive' section (for destination site). Also
   item homebranch does not changes until the destination site check in
   it.

Sponsored-by: BibLibre
Co-authored-by: bwoj - baptiste.wojtkowski@biblibre.com