Bugzilla – Attachment 138400 Details for
Bug 31269
DataTables error when managing staged MARC records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31269: Define sDefaultContent for DataTables
Bug-31269-Define-sDefaultContent-for-DataTables.patch (text/plain), 1.75 KB, created by
Katrin Fischer
on 2022-07-30 21:55:27 UTC
(
hide
)
Description:
Bug 31269: Define sDefaultContent for DataTables
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-07-30 21:55:27 UTC
Size:
1.75 KB
patch
obsolete
>From cb2445403e831c46b42f528891dbf40ff28c8b91 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 29 Jul 2022 23:41:13 +0000 >Subject: [PATCH] Bug 31269: Define sDefaultContent for DataTables > >1. Stage a MARC record for import >2. Once you have one click on 'Manage staged records' >3. You will see an alert that says "Something went wrong when loading the table." >4. If you dismiss that you should see the following error: > >DataTables warning: table id=records-table - Requested unknown parameter '' for row 0, column 4. For more information about this error, please see http://datatables.net/tn/4 > >5. Appy patch >6. Try ssteps 1 & 2 again >7. No DataTable errors > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >index 921a3d8e0b..7cac215413 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >@@ -486,8 +486,8 @@ > { "mDataProp": "citation" }, > { "mDataProp": "status" }, > { "mDataProp": "overlay_status" }, >- { "mDataProp": "" }, >- { "mDataProp": "" }, >+ { "mDataProp": null, "sDefaultContent": "" }, >+ { "mDataProp": null, "sDefaultContent": "" }, > { "mDataProp": "matched" } > ], > "fnServerData": function(sSource, aoData, fnCallback) { >-- >2.30.2
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 31269
:
138380
|
138400
|
138451