Bug 41825

Summary: Holds cannot be cancelled after a checkout on the patron checkout page
Product: Koha Reporter: Hammat wele <hammat.wele>
Component: CirculationAssignee: Hammat wele <hammat.wele>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, gmcharlt, kyle, philippe.blouin
Version: Main   
Hardware: All   
OS: All   
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: Bug 41825: Holds cannot be cancelled after a checkout on the patron checkout page

Description Hammat wele 2026-02-11 20:59:44 UTC
Steps to reproduce:

1- Find two items, A and B, from two different bibliographic records.

2- Place a hold on item A for a patron.

3- Go to the patron Checkout page and check out item B.

4- Click on the Holds tab.

5- Click on the Delete icon to cancel the hold and confirm the cancellation.

6- Go back to the patron Checkout page and open the Holds tab.
   ---> The hold is not deleted.

7- Check out another item.

8- In the Holds tab, select the hold and click Cancel selected.
   ---> Nothing happens.
Comment 1 Hammat wele 2026-02-11 22:46:56 UTC
Created attachment 192996 [details] [review]
Bug 41825: Holds cannot be cancelled after a checkout on the patron checkout page

To test:

1- Find two items, A and B, from two different bibliographic records.
2- Place a hold on item A for a patron.
3- Go to the patron Checkout page and check out item B.
4- Click on the Holds tab.
5- Click on the Delete icon to cancel the hold and confirm the cancellation.
6- Check the Holds tab.
   ---> The hold is not deleted.
7- Check out another item.
8- In the Holds tab, select the hold and click Cancel selected.
   ---> Nothing happens.
9- Apply the patch and refresh the page (Ctrl+F5)
10- Repeat step 7, 4, 5, 6
   ---> The hold is now deleted.
11- Repeat step 2, 7, 8
   ---> The hold can now be deleted