Bug 40567

Summary: Correct eslint errors in recalls.js
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 23833    
Attachments: Bug 40567: Correct eslint errors in recalls.js

Description Owen Leonard 2025-07-31 15:20:21 UTC
Following coding guideline JS8: "Follow guidelines set by ESLint," some errors should be corrected in recalls.js
Comment 1 Owen Leonard 2025-07-31 15:54:19 UTC
Created attachment 184934 [details] [review]
Bug 40567: Correct eslint errors in recalls.js

This patch corrects a few minor errors in recalls.js. There should be no
change to how the pages work.

The following functions have been changed:

- Cancel a recall from the recalls tab on a patron record
- Expire a recall or revert the waiting status of a recall from the
  "Recalls awaiting pickup" page.
- Cancel a recall which has been transferred from the "Recalls queue"
  page.
- Mark a recall "Overdue" from the "Recalls queue" page.
- Cancel selected recalls on the "Recalls queue" page.

Sponsored-by: Athens County Public Libraries