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

(-)a/admin/columns_settings.yml (+23 lines)
Lines 2618-2623 modules: Link Here
2618
              columnname: checkout_branch
2618
              columnname: checkout_branch
2619
            -
2619
            -
2620
              columnname: links
2620
              columnname: links
2621
      table_holdshistory:
2622
        columns:
2623
            -
2624
              columnname: title
2625
            -
2626
              columnname: author
2627
            -
2628
              columnname: barcode
2629
            -
2630
              columnname: library
2631
            -
2632
              columnname: hold_date
2633
            -
2634
              columnname: expiration_date
2635
            -
2636
              columnname: waiting_date
2637
            -
2638
              columnname: cancellation_date
2639
            -
2640
              columnname: item_type
2641
            -
2642
              columnname: status
2643
2621
2644
2622
  serials:
2645
  serials:
2623
    claims:
2646
    claims:
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc (-1 / +1 lines)
Lines 27-33 Link Here
27
            [% END %]
27
            [% END %]
28
            <th>Status</th>
28
            <th>Status</th>
29
            [% IF SuspendHoldsOpac and ! onlyinfo %]
29
            [% IF SuspendHoldsOpac and ! onlyinfo %]
30
                <th data-colname="suspend" class="nosort" >Suspend</th>
30
                <th data-colname="suspend" class="nosort">Suspend</th>
31
            [% END %]
31
            [% END %]
32
            [% IF ! onlyinfo %]
32
            [% IF ! onlyinfo %]
33
                <th data-colname="modify" class="nosort">Modify</th>
33
                <th data-colname="modify" class="nosort">Modify</th>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt (-12 / +12 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 196-201 Link Here
196
            $("#sort").change(function () {
196
            $("#sort").change(function () {
197
                $("#sortform").submit();
197
                $("#sortform").submit();
198
            });
198
            });
199
            var table_settings = [% TablesSettings.GetColumns( 'opac', 'patron_details', 'table_holdshistory', 'json') | $raw %];
199
            var table = $("#table_holdshistory").kohaTable({
200
            var table = $("#table_holdshistory").kohaTable({
200
                dom: '<"top"<"table_entries"i><"table_controls"fB>>t',
201
                dom: '<"top"<"table_entries"i><"table_controls"fB>>t',
201
                autoWidth: false,
202
                autoWidth: false,
Lines 204-210 Link Here
204
                    search: "_INPUT_",
205
                    search: "_INPUT_",
205
                    searchPlaceholder: _("Search"),
206
                    searchPlaceholder: _("Search"),
206
                },
207
                },
207
            });
208
            }, table_settings);
208
        });
209
        });
209
    </script>
210
    </script>
210
[% END %]
211
[% END %]
211
- 

Return to bug 30221