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

(-)a/admin/columns_settings.yml (+22 lines)
Lines 2280-2285 modules: Link Here
2280
              columnname: checkout_branch
2280
              columnname: checkout_branch
2281
            -
2281
            -
2282
              columnname: links
2282
              columnname: links
2283
      table_holdshistory:
2284
        columns:
2285
            -
2286
              columnname: title
2287
            -
2288
              columnname: author
2289
            -
2290
              columnname: barcode
2291
            -
2292
              columnname: library
2293
            -
2294
              columnname: hold_date
2295
            -
2296
              columnname: expiration_date
2297
            -
2298
              columnname: waiting_date
2299
            -
2300
              columnname: cancellation_date
2301
            -
2302
              columnname: item_type
2303
            -
2304
              columnname: status
2283
2305
2284
  serials:
2306
  serials:
2285
    subscription-detail:
2307
    subscription-detail:
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt (-12 / +11 lines)
Lines 97-114 Link Here
97
                                    <caption class="sr-only">Holds history</caption>
97
                                    <caption class="sr-only">Holds history</caption>
98
                                    <thead>
98
                                    <thead>
99
                                        <tr>
99
                                        <tr>
100
                                        <th class="anti-the">Title</th>
100
                                        <th data-colname="title" class="anti-the">Title</th>
101
                                        <th>Author</th>
101
                                        <th data-colname="author">Author</th>
102
                                        <th>Barcode</th>
102
                                        <th data-colname="barcode">Barcode</th>
103
                                        <th>Library</th>
103
                                        <th data-colname="checkout_branch">Library</th>
104
                                        <th>Hold date</th>
104
                                        <th data-colname="hold_date">Hold date</th>
105
                                        <th>Expiration date</th>
105
                                        <th data-colname="expiration_date">Expiration date</th>
106
                                        <th>Waiting date</th>
106
                                        <th data-colname="waiting_date">Waiting date</th>
107
                                        <th>Cancellation date</th>
107
                                        <th data-colname="cancellation_date">Cancellation date</th>
108
                                        [% IF show_itemtype_column %]
108
                                        [% IF show_itemtype_column %]
109
                                        <th>Requested item type</th>
109
                                        <th data-colname="item_type">Requested item type</th>
110
                                        [% END %]
110
                                        [% END %]
111
                                        <th>Status</th>
111
                                        <th data-colname="status">Status</th>
112
                                        </tr>
112
                                        </tr>
113
                                    </thead>
113
                                    </thead>
114
                                    <tbody>
114
                                    <tbody>
Lines 185-191 Link Here
185
        $('#sort').change(function() {
185
        $('#sort').change(function() {
186
            $('#sortform').submit();
186
            $('#sortform').submit();
187
        });
187
        });
188
        var columns_settings = []; // Empty because there are no columns we want to be configurable
188
        var columns_settings = [% TablesSettings.GetColumns( 'opac', 'patron_details', 'table_holdshistory', 'json') | $raw %];
189
        var table = KohaTable("#table_holdshistory", {
189
        var table = KohaTable("#table_holdshistory", {
190
            "dom": '<"top"<"table_entries"i><"table_controls"fB>>t',
190
            "dom": '<"top"<"table_entries"i><"table_controls"fB>>t',
191
            "autoWidth": false,
191
            "autoWidth": false,
192
- 

Return to bug 30221