Bug 40199 - Datatables search for eUsage/ERM report results is broken
Summary: Datatables search for eUsage/ERM report results is broken
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: ERM (show other bugs)
Version: Main
Hardware: All All
: P5 - low major
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-20 10:38 UTC by Katrin Fischer
Modified: 2025-06-20 10:39 UTC (History)
7 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 Katrin Fischer 2025-06-20 10:38:18 UTC
When using the search input field on top of a eUsage report result, the search gets stuck in "Processing".

This is basically the same error as bug 40198, but for another page of the ERM module.

To test:
- Activate the ERMModule via the system preference
- Add at least one data provider
- Add at least one report
  It doesn't matter if you have no data, the empty results table shows the error as well.
- Select the report on the "Saved reports" tab
- In the (empty) results table, type anything in the general search field on top
- Confirm that the "Processing" appears, but doesn't go away

Error from console:
Uncaught TypeError: col.data is undefined

Confirmed in main and in 24.11.
Comment 1 Katrin Fischer 2025-06-20 10:39:27 UTC
The search filters on top of the results also don't work. If you have data and search for a title, nothing happens and the title is not found.