|
Lines 1-8
Link Here
|
| 1 |
[% USE raw %] |
1 |
[% USE raw %] |
| 2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
| 3 |
[% USE KohaDates %] |
3 |
[% USE KohaDates %] |
|
|
4 |
[% USE ColumnsSettings %] |
| 4 |
[% SET footerjs = 1 %] |
5 |
[% SET footerjs = 1 %] |
| 5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
|
|
7 |
[% INCLUDE 'columns_settings.inc' %] |
| 6 |
<title>Koha › Tools › Patron lists › [% list.name | html %] › Add patrons</title> |
8 |
<title>Koha › Tools › Patron lists › [% list.name | html %] › Add patrons</title> |
| 7 |
[% INCLUDE 'doc-head-close.inc' %] |
9 |
[% INCLUDE 'doc-head-close.inc' %] |
| 8 |
|
10 |
|
|
Lines 184-190
Link Here
|
| 184 |
$(document).ready(function() { |
186 |
$(document).ready(function() { |
| 185 |
$('#patrons_to_add_fieldset').hide(); |
187 |
$('#patrons_to_add_fieldset').hide(); |
| 186 |
|
188 |
|
| 187 |
$('#patron-list-table').dataTable($.extend(true, {}, dataTablesDefaults, { |
189 |
var columns_settings_table = [% ColumnsSettings.GetColumns('members', 'patron-lists', 'patron-list-table', 'json') | $raw %] |
|
|
190 |
KohaTable('patron-list-table', { |
| 188 |
"order": [[ 3, "asc" ]], |
191 |
"order": [[ 3, "asc" ]], |
| 189 |
"aoColumns": [ |
192 |
"aoColumns": [ |
| 190 |
null,null,null,null,null,null,null,{ "sType": "title-string" },null |
193 |
null,null,null,null,null,null,null,{ "sType": "title-string" },null |
|
Lines 193-199
Link Here
|
| 193 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
196 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
| 194 |
], |
197 |
], |
| 195 |
"sPaginationType": "four_button" |
198 |
"sPaginationType": "four_button" |
| 196 |
} )); |
199 |
}, columns_settings_table); |
| 197 |
|
200 |
|
| 198 |
patron_autocomplete({ |
201 |
patron_autocomplete({ |
| 199 |
patron_container: $("#patrons_to_add"), |
202 |
patron_container: $("#patrons_to_add"), |
| 200 |
- |
|
|