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

(-)a/admin/columns_settings.yml (+27 lines)
Lines 590-595 modules: Link Here
590
          columnname: itemtype
590
          columnname: itemtype
591
        -
591
        -
592
          columnname: status
592
          columnname: status
593
594
    checkouthistory:
595
      checkouthistory-table:
596
        - columnname: type
597
          cannot_be_toggled: 1
598
          cannot_be_modified: 1
599
        -
600
          columnname: date
601
        -
602
          columnname: title
603
        -
604
          columnname: author
605
        -
606
          columnname: call_number
607
        -
608
          columnname: barcode
609
        -
610
          columnname: number_of_renewals
611
        -
612
          columnname: checked_out_on
613
        -
614
          columnname: checked_out_from
615
        -
616
          columnname: date_due
617
        -
618
          columnname: return_date
619
593
    patron-lists:
620
    patron-lists:
594
      patron-list-table:
621
      patron-list-table:
595
        -
622
        -
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt (-1 / +1 lines)
Lines 36-42 Link Here
36
36
37
[% SET show_itemtype_column = Koha.Preference('AllowHoldItemTypeSelection') %]
37
[% SET show_itemtype_column = Koha.Preference('AllowHoldItemTypeSelection') %]
38
38
39
<div id="holdshistory" style="overflow:hidden">
39
<div id="holdshistory">
40
  <table id="table_holdshistory">
40
  <table id="table_holdshistory">
41
      <thead>
41
      <thead>
42
        <tr>
42
        <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt (-5 / +9 lines)
Lines 4-9 Link Here
4
[% USE Koha %]
4
[% USE Koha %]
5
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
6
[% USE Branches %]
6
[% USE Branches %]
7
[% USE ColumnsSettings %]
7
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Circulation History for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
10
<title>Circulation History for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
Lines 44-50 Link Here
44
    <li><a href="#readingrec" id="tab_onsite_checkout">On-site checkouts</a></li>
45
    <li><a href="#readingrec" id="tab_onsite_checkout">On-site checkouts</a></li>
45
  </ul>
46
  </ul>
46
  [% END %]
47
  [% END %]
47
  <div id="readingrec" style="overflow:hidden">
48
  <div id="readingrec">
48
    <table id="table_readingrec">
49
    <table id="table_readingrec">
49
      <thead>
50
      <thead>
50
        <tr>
51
        <tr>
Lines 127-142 Link Here
127
    [% INCLUDE 'str/members-menu.inc' %]
128
    [% INCLUDE 'str/members-menu.inc' %]
128
    [% Asset.js("js/members-menu.js") | $raw %]
129
    [% Asset.js("js/members-menu.js") | $raw %]
129
    [% INCLUDE 'datatables.inc' %]
130
    [% INCLUDE 'datatables.inc' %]
131
    [% INCLUDE 'columns_settings.inc' %]
130
    <script id="js">
132
    <script id="js">
131
        $(document).ready(function() {
133
        $(document).ready(function() {
132
            var table = $("#table_readingrec").dataTable($.extend(true, {}, dataTablesDefaults, {
134
            var columns_settings = [% ColumnsSettings.GetColumns('members', 'checkouthistory', 'checkouthistory-table', 'json') %];
135
            var table = KohaTable("table_readingrec", {
133
                "sPaginationType": "four_button",
136
                "sPaginationType": "four_button",
134
                "aaSorting": [],
137
                "aaSorting": [[10, 'desc']],
138
                "sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
135
                "aoColumnDefs": [
139
                "aoColumnDefs": [
136
                    { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
140
                    { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
137
                    { "sType": "title-string", "aTargets" : [ "title-string" ] }
141
                    { "sType": "title-string", "aTargets" : [ "title-string" ] }
138
                ]
142
                ]
139
            }));
143
            }, columns_settings);
144
140
            var tabs = $("#tabs").tabs({
145
            var tabs = $("#tabs").tabs({
141
                activate: function(e, ui) {
146
                activate: function(e, ui) {
142
                    var active = tabs.tabs("option", "active" );
147
                    var active = tabs.tabs("option", "active" );
143
- 

Return to bug 23061