Bugzilla – Attachment 181686 Details for
Bug 39779
Table.row.add error in point of sale table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39779: Updated table type
Bug-39779-Updated-table-type.patch (text/plain), 1.41 KB, created by
Roman Dolny
on 2025-04-29 20:05:09 UTC
(
hide
)
Description:
Bug 39779: Updated table type
Filename:
MIME Type:
Creator:
Roman Dolny
Created:
2025-04-29 20:05:09 UTC
Size:
1.41 KB
patch
obsolete
>From dc50b986fc1880256bfd65c5ba0c6fd285ecd7cc Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Tue, 29 Apr 2025 17:36:45 +0000 >Subject: [PATCH] Bug 39779: Updated table type > >To test: >1. In K-T-D set up POS module with a cash register and configure an item for sale. >2. Attempt to add the configured item for purchase. The console log will show: "Uncaught TypeError: table.row is undefined" >3. Apply the patch >4. Refresh the page. >5. Repeat step 2. You are now able to add the configured item for purchase. You can also remove it or go through with the full transaction. >6. Sign off and have an incredible day! :D > >Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >index 8430309651..b2de99c85b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >@@ -335,7 +335,7 @@ > > $(document).ready(function() { > const sale_table = document.getElementById('sale'); >- const saleDataTable = $("#sale").kohaTable({ >+ const saleDataTable = $("#sale").DataTable({ > "paginate": false, > "searching": false, > "info": 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 39779
:
181682
|
181686
|
181870
|
181871