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

(-)a/admin/columns_settings.yml (+32 lines)
Lines 1440-1445 modules: Link Here
1440
              columnname: phone
1440
              columnname: phone
1441
              is_hidden: 1
1441
              is_hidden: 1
1442
1442
1443
      holds_table:
1444
        columns:
1445
            -
1446
              columnname: reservedate
1447
            -
1448
              columnname: title
1449
            -
1450
              columnname: callnumber
1451
            -
1452
              columnname: itemtype
1453
            -
1454
              columnname: barcode
1455
            -
1456
              columnname: pickup_location
1457
            -
1458
              columnname: expirationdate
1459
            -
1460
              columnname: priority
1461
            -
1462
              columnname: notes
1463
              is_hidden: 1
1464
            -
1465
              columnname: delete
1466
              cannot_be_toggled: 1
1467
              cannot_be_modified: 1
1468
            -
1469
              columnname: suspend
1470
              cannot_be_toggled: 1
1471
              cannot_be_modified: 1
1472
            -
1473
              columnname: status
1474
1443
    returns:
1475
    returns:
1444
      checkedintable:
1476
      checkedintable:
1445
        columns:
1477
        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