Bugzilla – Attachment 181870 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.48 KB, created by
Martin Renvoize (ashimema)
on 2025-05-02 15:17:19 UTC
(
hide
)
Description:
Bug 39779: Updated table type
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-05-02 15:17:19 UTC
Size:
1.48 KB
patch
obsolete
>From 945ce3639279175746871fb9b52180be2e287e46 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> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > 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 8430309651e..b2de99c85bd 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.49.0
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