[Koha-bugs] [Bug 29648] Make KohaTable tables 'default length' and 'default sort' configurable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 5 14:16:22 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29648

--- Comment #37 from Owen Leonard <oleonard at myacpl.org> ---
This change results in a JS error on the page, 'Uncaught TypeError: can't
access property "columns", table_settings is undefined'

--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt
@@ -328,10 +328,9 @@ Acquisitions › Koha
         var MSG_NO_FUND_SELECTED = _("No fund selected.");
         $(document).ready(function() {
             $('span.hint').hide();
-            var columns_settings;// = [% TablesSettings.GetColumns( 'acqui',
'histsearch', 'histsearcht', 'json' ) | $raw %];
             KohaTable("table_orders", {
                 "bPaginate": false
-            }, columns_settings );
+            });

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list