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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-2 / +2 lines)
Lines 149-162 Link Here
149
                        [% SWITCH column %]
149
                        [% SWITCH column %]
150
                            [% CASE 'checkbox' %]<th class="noExport"></th>
150
                            [% CASE 'checkbox' %]<th class="noExport"></th>
151
                            [% CASE 'cardnumber' %]<th>Card</th>
151
                            [% CASE 'cardnumber' %]<th>Card</th>
152
                            [% CASE 'dateofbirth' %]<th>Date of birth</th>
152
                            [% CASE 'dateofbirth' %]<th data-datatype="date">Date of birth</th>
153
                            [% CASE 'name' %]<th>Name</th>
153
                            [% CASE 'name' %]<th>Name</th>
154
                            [% CASE 'name-address' %]<th>Name</th>
154
                            [% CASE 'name-address' %]<th>Name</th>
155
                            [% CASE 'address' %]<th>Address</th>
155
                            [% CASE 'address' %]<th>Address</th>
156
                            [% CASE 'address-library' %]<th>Address</th>
156
                            [% CASE 'address-library' %]<th>Address</th>
157
                            [% CASE 'branch' %]<th data-filter="libraries">Library</th>
157
                            [% CASE 'branch' %]<th data-filter="libraries">Library</th>
158
                            [% CASE 'category' %]<th data-filter="categories">Category</th>
158
                            [% CASE 'category' %]<th data-filter="categories">Category</th>
159
                            [% CASE 'dateexpiry' %]<th>Expires on</td>
159
                            [% CASE 'dateexpiry' %]<th data-datatype="date">Expires on</td>
160
                            [% CASE 'borrowernotes' %]<th>Notes</th>
160
                            [% CASE 'borrowernotes' %]<th>Notes</th>
161
                            [% CASE 'phone' %]<th>Phone</th>
161
                            [% CASE 'phone' %]<th>Phone</th>
162
                            [% CASE 'checkouts' %]<th>Checkouts</th>
162
                            [% CASE 'checkouts' %]<th>Checkouts</th>
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-3 / +6 lines)
Lines 663-670 function _dt_default_ajax (params){ Link Here
663
663
664
            if(query_parameters.length) {
664
            if(query_parameters.length) {
665
                query_parameters = JSON.stringify(query_parameters.length === 1?query_parameters[0]:{"-and": query_parameters});
665
                query_parameters = JSON.stringify(query_parameters.length === 1?query_parameters[0]:{"-and": query_parameters});
666
                dataSet.q = query_parameters;
666
                if(options.header_filter) {
667
                delete options.query_parameters;
667
                    options.query_parameters = query_parameters;
668
                } else {
669
                    dataSet.q = query_parameters;
670
                    delete options.query_parameters;
671
                }
668
            } else {
672
            } else {
669
                delete options.query_parameters;
673
                delete options.query_parameters;
670
            }
674
            }
671
- 

Return to bug 32559