https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42679
Bug ID: 42679
Summary: Add GET /patrons/{patron_id}/overdues_count endpoint
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Add a new REST API endpoint that returns the count of overdue checkouts for a
patron as a plain integer.
This endpoint computes the count live from the database (date_due < NOW()) to
ensure accuracy, as overdue status is time-based with no discrete event to
trigger updates.
The primary use case is async loading in the patron search table: the main
search results render immediately while overdues are fetched separately per
visible page, improving perceived performance.
Endpoint: GET /api/v1/patrons/{patron_id}/overdues_count
Response: integer (e.g. 3)
Permission: borrowers => list_borrowers
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/