From c95c2f83aaccd154bf6c42e973d3bd46c420e598 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Wed, 20 Mar 2019 14:29:25 +0000 Subject: [PATCH] Bug 22330: (QA follow-up) Enable datatable in patron search Test plan: Try to search patron for circulation (or for creating hold), when there are more than 1 patron, you should see a table with patrons found. --> without this patch, the datatable is not created (for example sorting the table by clicking to column heading does not work) --> with this patch, the datatable works Signed-off-by: Josef Moravec --- .../intranet-tmpl/prog/js/circ-patron-search-results.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/circ-patron-search-results.js b/koha-tmpl/intranet-tmpl/prog/js/circ-patron-search-results.js index 9f429b1de1..fa44b3e96a 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/circ-patron-search-results.js +++ b/koha-tmpl/intranet-tmpl/prog/js/circ-patron-search-results.js @@ -3,11 +3,11 @@ $(document).ready(function() { $(".clickable").click(function() { window.document.location = $(this).data('url'); }); -// var table = KohaTable("table_borrowers", -// { -// "aaSorting": [ 0, "asc" ], -// "sDom": "t", -// "iDisplayLength": -1 -// }, -// columns_settings_borrowers_table, null); + var table = KohaTable("table_borrowers", + { + "aaSorting": [ 0, "asc" ], + "sDom": "t", + "iDisplayLength": -1 + }, + columns_settings_borrowers_table, null); }); -- 2.11.0