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

(-)a/admin/columns_settings.yml (+1 lines)
Lines 1273-1278 modules: Link Here
1273
1273
1274
    holdsratios:
1274
    holdsratios:
1275
      holds-ratios:
1275
      holds-ratios:
1276
        default_display_length: 20
1276
        columns:
1277
        columns:
1277
            -
1278
            -
1278
              columnname: holds
1279
              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