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

(-)a/C4/Utils/DataTables/Members.pm (-1 / +1 lines)
Lines 64-70 sub search { Link Here
64
        borrowers.borrowernotes, borrowers.branchcode, borrowers.email,
64
        borrowers.borrowernotes, borrowers.branchcode, borrowers.email,
65
        borrowers.userid, borrowers.dateofbirth, borrowers.categorycode,
65
        borrowers.userid, borrowers.dateofbirth, borrowers.categorycode,
66
        categories.description AS category_description, categories.category_type,
66
        categories.description AS category_description, categories.category_type,
67
        branches.branchname";
67
        branches.branchname, borrowers.phone";
68
    my $from = "FROM borrowers
68
    my $from = "FROM borrowers
69
        LEFT JOIN branches ON borrowers.branchcode = branches.branchcode
69
        LEFT JOIN branches ON borrowers.branchcode = branches.branchcode
70
        LEFT JOIN categories ON borrowers.categorycode = categories.categorycode";
70
        LEFT JOIN categories ON borrowers.categorycode = categories.categorycode";
(-)a/admin/columns_settings.yml (-1 / +18 lines)
Lines 561-567 modules: Link Here
561
          columnname: export
561
          columnname: export
562
          cannot_be_toggled: 1
562
          cannot_be_toggled: 1
563
          cannot_be_modified: 1
563
          cannot_be_modified: 1
564
564
      table_borrowers:
565
        -
566
          columnname: name
567
          cannot_be_toggled: 1
568
          cannot_be_modified: 1
569
        -
570
          columnname: cardnumber
571
        -
572
          columnname: date_of_birth
573
        -
574
          columnname: category
575
        -
576
          columnname: library
577
        -
578
          columnname: address
579
        -
580
          columnname: phone
581
          is_hidden: 1
565
    returns:
582
    returns:
566
      checkedintable:
583
      checkedintable:
567
        -
584
        -
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc (+2 lines)
Lines 9-14 Link Here
9
            <th>Category</th>
9
            <th>Category</th>
10
            <th>Library</th>
10
            <th>Library</th>
11
            <th>Address</th>
11
            <th>Address</th>
12
            <th>Primary phone</th>
12
        </tr>
13
        </tr>
13
    </thead>
14
    </thead>
14
    <tbody>
15
    <tbody>
Lines 30-35 Link Here
30
                <td>[% Categories.GetName( borrower.categorycode ) | html %]</td>
31
                <td>[% Categories.GetName( borrower.categorycode ) | html %]</td>
31
                <td>[% Branches.GetName( borrower.branchcode ) | html %]</td>
32
                <td>[% Branches.GetName( borrower.branchcode ) | html %]</td>
32
                <td>[% borrower.address | html %]</td>
33
                <td>[% borrower.address | html %]</td>
34
                <td>[% borrower.phone | html %]</td>
33
            </tr>
35
            </tr>
34
        [% END %]
36
        [% END %]
35
    </tbody>
37
    </tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +2 lines)
Lines 1005-1011 No patron matched <span class="ex">[% message | html %]</span> Link Here
1005
        var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
1005
        var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
1006
        var MSG_CONFIRM_DELETE_MESSAGE = _("Are you sure you want to delete this message? This cannot be undone.");
1006
        var MSG_CONFIRM_DELETE_MESSAGE = _("Are you sure you want to delete this message? This cannot be undone.");
1007
1007
1008
        columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ) | $raw %]
1008
        columns_settings_issues_table = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ) | $raw %]
1009
        columns_settings_borrowers_table = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]
1009
1010
1010
        [% IF borrowernumber and patron %]
1011
        [% IF borrowernumber and patron %]
1011
            if($.cookie("holdfor") != [% patron.borrowernumber | html %]){
1012
            if($.cookie("holdfor") != [% patron.borrowernumber | html %]){
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-1 / +1 lines)
Lines 546-552 $(document).ready(function() { Link Here
546
                    .append(ul)
546
                    .append(ul)
547
                    .insertBefore(oSettings.nTableWrapper)
547
                    .insertBefore(oSettings.nTableWrapper)
548
            },
548
            },
549
        }, columns_settings).rowGrouping(
549
        }, columns_settings_issues_table).rowGrouping(
550
            {
550
            {
551
                iGroupingColumnIndex: 1,
551
                iGroupingColumnIndex: 1,
552
                iGroupingOrderByColumnIndex: 0,
552
                iGroupingOrderByColumnIndex: 0,
(-)a/koha-tmpl/intranet-tmpl/prog/js/circ-patron-search-results.js (-7 / +8 lines)
Lines 3-11 $(document).ready(function() { Link Here
3
    $(".clickable").click(function() {
3
    $(".clickable").click(function() {
4
        window.document.location = $(this).data('url');
4
        window.document.location = $(this).data('url');
5
    });
5
    });
6
    var table = $("#table_borrowers").dataTable($.extend(true, {}, dataTablesDefaults, {
6
    var table = KohaTable("table_borrowers",
7
        "aaSorting": [ 0, "asc" ],
7
        {
8
        "sDom": "t",
8
            "aaSorting": [ 0, "asc" ],
9
        "iDisplayLength": -1
9
            "sDom": "t",
10
    }));
10
            "iDisplayLength": -1
11
});
11
        },
12
        columns_settings_borrowers_table, null);
13
});
12
- 

Return to bug 17353