Bugzilla – Attachment 138451 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.82 KB, created by
Jonathan Druart
on 2022-08-01 08:51:09 UTC
(
hide
)
Description:
Bug 31269: Define sDefaultContent for DataTables
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-08-01 08:51:09 UTC
Size:
1.82 KB
patch
obsolete
>From 722b07470aaaee340667cc10cb864c95d05a4cd4 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../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 921a3d8e0bc..7cac2154136 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.25.1
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