Bugzilla – Attachment 184592 Details for
Bug 40198
Datatables search for data providers is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40198: Restore data provider search
Bug-40198-Restore-data-provider-search.patch (text/plain), 2.03 KB, created by
Biblibre Sandboxes
on 2025-07-24 13:18:00 UTC
(
hide
)
Description:
Bug 40198: Restore data provider search
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2025-07-24 13:18:00 UTC
Size:
2.03 KB
patch
obsolete
>From 945ff4e24aaa10be788f6dc2e64f80b2b987d819 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 24 Jul 2025 12:20:46 +0200 >Subject: [PATCH] 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> >--- > .../components/ERM/UsageStatisticsDataProvidersList.vue | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersList.vue >index 4d08a1da13..0af9239ea7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersList.vue >@@ -327,18 +327,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, > }, > ]; > }, >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40198
:
184584
|
184585
|
184592
|
184593
|
184620
|
184621