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

(-)a/admin/columns_settings.yml (+32 lines)
Lines 1442-1447 modules: Link Here
1442
              columnname: phone
1442
              columnname: phone
1443
              is_hidden: 1
1443
              is_hidden: 1
1444
1444
1445
      holds_table:
1446
        columns:
1447
            -
1448
              columnname: reservedate
1449
            -
1450
              columnname: title
1451
            -
1452
              columnname: callnumber
1453
            -
1454
              columnname: itemtype
1455
            -
1456
              columnname: barcode
1457
            -
1458
              columnname: pickup_location
1459
            -
1460
              columnname: expirationdate
1461
            -
1462
              columnname: priority
1463
            -
1464
              columnname: notes
1465
              is_hidden: 1
1466
            -
1467
              columnname: delete
1468
              cannot_be_toggled: 1
1469
              cannot_be_modified: 1
1470
            -
1471
              columnname: suspend
1472
              cannot_be_toggled: 1
1473
              cannot_be_modified: 1
1474
            -
1475
              columnname: status
1476
1445
    returns:
1477
    returns:
1446
      checkedintable:
1478
      checkedintable:
1447
        columns:
1479
        columns:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (+1 lines)
Lines 908-913 Link Here
908
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'issues-table', 'json' ) | $raw %]
908
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'issues-table', 'json' ) | $raw %]
909
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'relatives-issues-table', 'json' ) | $raw %]
909
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'relatives-issues-table', 'json' ) | $raw %]
910
        table_settings_borrowers_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]
910
        table_settings_borrowers_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]
911
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'holds_table', 'json' ) | $raw %]
911
912
912
        [% IF borrowernumber and patron %]
913
        [% IF borrowernumber and patron %]
913
            if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){
914
            if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (+1 lines)
Lines 712-717 Link Here
712
712
713
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
713
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
714
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
714
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
715
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'holds_table', 'json' ) | $raw %]
715
716
716
        $(document).ready(function() {
717
        $(document).ready(function() {
717
            $("#info_digests").tooltip();
718
            $("#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 324-330 $(document).ready(function() { Link Here
324
                        d.borrowernumber = borrowernumber;
324
                        d.borrowernumber = borrowernumber;
325
                    }
325
                    }
326
                },
326
                },
327
            }));
327
            }, table_settings_holds_table );
328
328
329
            $('#holds-table').on( 'draw.dt', function () {
329
            $('#holds-table').on( 'draw.dt', function () {
330
                $(".hold-suspend").on( "click", function() {
330
                $(".hold-suspend").on( "click", function() {
331
- 

Return to bug 33845