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

(-)a/admin/columns_settings.yml (+1 lines)
Lines 1301-1306 modules: Link Here
1301
1301
1302
    holdsratios:
1302
    holdsratios:
1303
      holds-ratios:
1303
      holds-ratios:
1304
        default_display_length: 20
1304
        columns:
1305
        columns:
1305
            -
1306
            -
1306
              columnname: holds
1307
              columnname: holds
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-3 / +2 lines)
Lines 191-197 Link Here
191
    [% INCLUDE 'datatables.inc' %]
191
    [% INCLUDE 'datatables.inc' %]
192
    [% INCLUDE 'columns_settings.inc' %]
192
    [% INCLUDE 'columns_settings.inc' %]
193
    <script>
193
    <script>
194
        var columns_settings = [% TablesSettings.GetColumns( 'circ', 'holdsratios', 'holds-ratios', 'json' ) | $raw %];
194
        var table_settings = [% TablesSettings.GetTableSettings( 'circ', 'holdsratios', 'holds-ratios', 'json' ) | $raw %];
195
        $(document).ready(function() {
195
        $(document).ready(function() {
196
            KohaTable("holdst", {
196
            KohaTable("holdst", {
197
                "aaSorting": [ [2,'desc'], [3,'asc'] ],
197
                "aaSorting": [ [2,'desc'], [3,'asc'] ],
Lines 201-207 Link Here
201
                    ],
201
                    ],
202
                "sPaginationType": "full",
202
                "sPaginationType": "full",
203
                "autoWidth": false
203
                "autoWidth": false
204
            }, columns_settings);
204
            }, table_settings);
205
       });
205
       });
206
  </script>
206
  </script>
207
[% END %]
207
[% END %]
208
- 

Return to bug 29648