Koha/koha-tmpl/intranet-tmpl/prog/js/circ-patron-search-results.js
Nick Clemens f6599b2c54 Bug 17353: Add phone number column to checkout search
This patch adds borrowers.phone as 'Primary phone' in the checkout
search results. It also ads the table to columns configuration

To test:
1 - Perform a checkout search
2 - Note phone is not displayed
3 - Apply patch
4 - Note phone does not display
5 - Visit columns configuration
6 - Unhide the 'phone' column
7 - Note phone displays
8 - Ensure page functions as before patch

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-28 13:06:35 +00:00

13 lines
382 B
JavaScript

/* global dataTablesDefaults */
$(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);
});