Bug 40098 - Article requests: Some DataTables functionality is broken
Summary: Article requests: Some DataTables functionality is broken
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-09 15:45 UTC by Owen Leonard
Modified: 2025-06-09 15:45 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2025-06-09 15:45:45 UTC
When you change the status of an article request using the "Actions" menu, the affect row should be removed and the table redrawn. Instead there is an error in the console:

Uncaught (in promise) TypeError: requested_datatable.rows is not a function
    UpdateTabCounts http://127.0.0.1:8081/cgi-bin/koha/circ/article-requests.pl?branchcode=:11710
    SetPending http://127.0.0.1:8081/cgi-bin/koha/circ/article-requests.pl?branchcode=:11696