Bug 37880

Summary: Unwanted form submission on RenewAll button
Product: Koha Reporter: Peter Vashchuk <stalkernoid>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: emily.lamancusa, gmcharlt, kyle.m.hall, ovezina
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 37880: Fix unwanted form submission on RenewAll button
Bug 37880: Fix unwanted form submission on RenewAll button

Description Peter Vashchuk 2024-09-10 09:58:23 UTC

    
Comment 1 Peter Vashchuk 2024-09-10 10:01:10 UTC
Created attachment 171245 [details] [review]
Bug 37880: Fix unwanted form submission on RenewAll button

Currently when there's 0 renewable items and you press RenewAll button,
js does pointless form submission.

Steps to reproduce:
1. Have a patron with one or more holds that shouldn't be possible to renew.
2. Press RenewAll button.
3. Apply the patch.
4. Repeat step 2 but this time you should get "There is no items to renew." alert.
Comment 2 Olivier Vezina 2024-09-13 13:37:35 UTC
Created attachment 171458 [details] [review]
Bug 37880: Fix unwanted form submission on RenewAll button

Currently when there's 0 renewable items and you press RenewAll button,
js does pointless form submission.

Steps to reproduce:
1. Have a patron with one or more holds that shouldn't be possible to renew.
2. Press RenewAll button.
3. Apply the patch.
4. Repeat step 2 but this time you should get "There is no items to renew." alert.

Signed-off-by: Olivier V <olivier.vezina@inLibro.com>
Comment 3 Emily Lamancusa (emlam) 2024-12-16 20:52:08 UTC

*** This bug has been marked as a duplicate of bug 37524 ***