View | Details | Raw Unified | Return to bug 22505
Collapse All | Expand All

(-)a/admin/columns_settings.yml (+22 lines)
Lines 517-522 modules: Link Here
517
          columnname: itemtype
517
          columnname: itemtype
518
        -
518
        -
519
          columnname: status
519
          columnname: status
520
    patron-lists:
521
      patron-list-table:
522
        -
523
          columnname: checkbox
524
          cannot_be_toggled: 1
525
          cannot_be_modified: 1
526
        -
527
          columnname: card
528
        -
529
          columnname: firstname
530
        -
531
          columnname: surname
532
        -
533
          columnname: address
534
        -
535
          columnname: category
536
        -
537
          columnname: library
538
        -
539
          columnname: expires_on
540
        -
541
          columnname: circ_notes
520
542
521
  reports:
543
  reports:
522
    lostitems:
544
    lostitems:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt (-3 / +5 lines)
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 &rsaquo; Tools &rsaquo; Patron lists &rsaquo; [% list.name | html %] &rsaquo; Add patrons</title>
8
<title>Koha &rsaquo; Tools &rsaquo; Patron lists &rsaquo; [% list.name | html %] &rsaquo; 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
- 

Return to bug 22505