Bug 40733

Summary: Issues export does not work from patron's Details page
Product: Koha Reporter: Janusz Kaczmarek <januszop>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: baptiste.wojtkowski, gmcharlt, jonathan.druart, kyle
Version: 24.11   
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 Janusz Kaczmarek 2025-08-29 10:38:27 UTC
Issues export does not work from patron's Details page. In browser console a message 'Uncaught TypeError: can't access property "cell", t.aoFooter[(intermediate value)][e] is undefined'. 

However, the same works fine from the Check out page.

To reproduce:
1. Make some issues to a patron.
2. Go to patron's Details page. Click 'Show checkouts'. Try to Export (in any format). You will see a spinning icon, no results, and an error message in the JS browser console.
Comment 1 Janusz Kaczmarek 2025-08-29 12:11:17 UTC
Update: the problem occurs in 24.11. Versions 25.05 and main seem to be fine.
Comment 2 Janusz Kaczmarek 2025-08-29 21:05:29 UTC
So, the issue is caused by the Export column present in the Details page in 24.11.07 independently on the state of ExportCircHistory (if ExportCircHistory is set to "Don't show", the Export column is present in the table, but not in the footer). This is already solved by Bug 39389 that should be ported to 24.11.

*** This bug has been marked as a duplicate of bug 39389 ***