Bug 40198: Restore data provider search

Uncaught TypeError: col.data is undefined

This patch removes the ability to
* search by status
* search or sort by "last run"

But fix the JS error that will restore the other features

Test plan:
- Activate the ERMModule via the system preference
- Add at least one data provider
- In the list of data providers, type anything in the general search field on top
=> Confirm that you can use the different features of the table without
JS errors

Signed-off-by: Michaela <michaela.sieber@kit.edu>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit bd52dab411)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
(cherry picked from commit 3396a46c28)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2025-07-24 12:20:46 +02:00 committed by Fridolin Somers
parent 46c7a66a6d
commit 6520ff3c5f
No known key found for this signature in database
GPG Key ID: 9A8E73E2A8B96537
1 changed files with 4 additions and 3 deletions

View File

@ -325,18 +325,19 @@ export default {
},
{
title: __("Status"),
data: "active",
render: function (data, type, row, meta) {
const status = row.active ? "Active" : "Inactive"
return status
},
searchable: true,
searchable: false,
orderable: true,
},
{
title: __("Last run"),
data: "last_run",
searchable: true,
orderable: true,
searchable: false,
orderable: false,
},
]
},