Bug 40567 - Correct eslint errors in recalls.js
Summary: Correct eslint errors in recalls.js
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 23833
  Show dependency treegraph
 
Reported: 2025-07-31 15:20 UTC by Owen Leonard
Modified: 2025-07-31 15:54 UTC (History)
0 users

See Also:
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:


Attachments
Bug 40567: Correct eslint errors in recalls.js (4.17 KB, patch)
2025-07-31 15:54 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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