Bug 40098

Summary: Article requests: Some DataTables functionality is broken
Product: Koha Reporter: Owen Leonard <oleonard>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

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