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

(-)a/admin/columns_settings.yml (+22 lines)
Lines 83-88 modules: Link Here
83
        -
83
        -
84
          columnname: actions
84
          columnname: actions
85
85
86
  catalogue:
87
    detail:
88
      checkoutshistory-table:
89
        -
90
          columnname: patron
91
          cannot_be_toggled: 1
92
          cannot_be_modified: 1
93
        -
94
          columnname: barcode
95
          cannot_be_toggled: 1
96
          cannot_be_modified: 1
97
        -
98
          columnname: checked_out_from
99
        -
100
          columnname: renewed
101
        -
102
          columnname: checkout_on
103
        -
104
          columnname: due_date
105
        -
106
          columnname: checkin_on
107
86
  cataloguing:
108
  cataloguing:
87
    additem:
109
    additem:
88
      itemst:
110
      itemst:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-3 / +6 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE ColumnsSettings %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% biblio.title |html %]</title>
7
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% biblio.title |html %]</title>
Lines 96-110 Link Here
96
97
97
[% MACRO jsinclude BLOCK %]
98
[% MACRO jsinclude BLOCK %]
98
[% INCLUDE 'datatables.inc' %]
99
[% INCLUDE 'datatables.inc' %]
100
[% INCLUDE 'columns_settings.inc' %]
99
    <script type="text/javascript" id="js">
101
    <script type="text/javascript" id="js">
100
        $(document).ready(function() {
102
        $(document).ready(function() {
101
            $("#table_issues").dataTable($.extend(true, {}, dataTablesDefaults, {
103
            var columns_settings = [% ColumnsSettings.GetColumns('catalogue', 'detail', 'checkoutshistory-table', 'json') %];
104
            var table = KohaTable("#table_issues", {
102
                "aoColumnDefs": [
105
                "aoColumnDefs": [
103
                    { "sType": "title-string", "aTargets" : [ "title-string" ] }
106
                    { "sType": "title-string", "aTargets" : [ "title-string" ] }
104
                ],
107
                ],
108
                "sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
105
                "aaSorting": [[ 4, "desc" ]],
109
                "aaSorting": [[ 4, "desc" ]],
106
                "sPaginationType": "full_numbers"
110
                "sPaginationType": "full_numbers"
107
            }));
111
            }, columns_settings);
108
        });
112
        });
109
    </script>
113
    </script>
110
[% END %]
114
[% END %]
111
- 

Return to bug 19902