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

(-)a/admin/columns_settings.yml (+32 lines)
Lines 1432-1437 modules: Link Here
1432
              columnname: phone
1432
              columnname: phone
1433
              is_hidden: 1
1433
              is_hidden: 1
1434
1434
1435
      holds_table:
1436
        columns:
1437
            -
1438
              columnname: reservedate
1439
            -
1440
              columnname: title
1441
            -
1442
              columnname: callnumber
1443
            -
1444
              columnname: itemtype
1445
            -
1446
              columnname: barcode
1447
            -
1448
              columnname: pickup_location
1449
            -
1450
              columnname: expirationdate
1451
            -
1452
              columnname: priority
1453
            -
1454
              columnname: notes
1455
              is_hidden: 1
1456
            -
1457
              columnname: delete
1458
              cannot_be_toggled: 1
1459
              cannot_be_modified: 1
1460
            -
1461
              columnname: suspend
1462
              cannot_be_toggled: 1
1463
              cannot_be_modified: 1
1464
            -
1465
              columnname: status
1466
1435
    returns:
1467
    returns:
1436
      checkedintable:
1468
      checkedintable:
1437
        columns:
1469
        columns:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (+1 lines)
Lines 1071-1076 Link Here
1071
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'issues-table', 'json' ) | $raw %]
1071
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'issues-table', 'json' ) | $raw %]
1072
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'relatives-issues-table', 'json' ) | $raw %]
1072
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'relatives-issues-table', 'json' ) | $raw %]
1073
        table_settings_borrowers_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]
1073
        table_settings_borrowers_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]
1074
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'holds_table', 'json' ) | $raw %]
1074
1075
1075
        [% IF borrowernumber and patron %]
1076
        [% IF borrowernumber and patron %]
1076
            if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){
1077
            if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (+1 lines)
Lines 923-928 Link Here
923
923
924
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
924
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
925
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
925
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
926
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'holds_table', 'json' ) | $raw %]
926
927
927
        $(document).ready(function() {
928
        $(document).ready(function() {
928
            $("#info_digests").tooltip();
929
            $("#info_digests").tooltip();
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-5 / +4 lines)
Lines 126-135 $(document).ready(function() { Link Here
126
        var holds = new Array();
126
        var holds = new Array();
127
        if ( ! holdsTable ) {
127
        if ( ! holdsTable ) {
128
            var title;
128
            var title;
129
            holdsTable = $("#holds-table").dataTable($.extend(true, {}, dataTablesDefaults, {
129
            holdsTable = KohaTable("holds-table", {
130
                "bAutoWidth": false,
130
                "bAutoWidth": false,
131
                "sDom": "rt",
131
                "dom": "rt",
132
                "columns": [
132
                "aoColumns": [
133
                    {
133
                    {
134
                        "data": { _: "reservedate_formatted", "sort": "reservedate" }
134
                        "data": { _: "reservedate_formatted", "sort": "reservedate" }
135
                    },
135
                    },
Lines 321-327 $(document).ready(function() { Link Here
321
                        d.borrowernumber = borrowernumber;
321
                        d.borrowernumber = borrowernumber;
322
                    }
322
                    }
323
                },
323
                },
324
            }));
324
            }, table_settings_holds_table );
325
325
326
            $('#holds-table').on( 'draw.dt', function () {
326
            $('#holds-table').on( 'draw.dt', function () {
327
                $(".hold-suspend").on( "click", function() {
327
                $(".hold-suspend").on( "click", function() {
328
- 

Return to bug 33845