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

(-)a/admin/columns_settings.yml (+6 lines)
Lines 1104-1109 modules: Link Here
1104
              columnname: fines
1104
              columnname: fines
1105
            -
1105
            -
1106
              columnname: circ_notes
1106
              columnname: circ_notes
1107
            -
1108
              columnname: sort1
1109
              is_hidden: 1
1110
            -
1111
              columnname: sort2
1112
              is_hidden: 1
1107
            -
1113
            -
1108
              columnname: actions
1114
              columnname: actions
1109
              cannot_be_toggled: 1
1115
              cannot_be_toggled: 1
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-1 / +25 lines)
Lines 178-183 Link Here
178
                            [% CASE 'phone' %]<th>Phone</th>
178
                            [% CASE 'phone' %]<th>Phone</th>
179
                            [% CASE 'checkouts' %]<th>Checkouts</th>
179
                            [% CASE 'checkouts' %]<th>Checkouts</th>
180
                            [% CASE 'account_balance' %]<th>Fines</th>
180
                            [% CASE 'account_balance' %]<th>Fines</th>
181
                            [% CASE 'sort1' %]<th>Sort 1</th>
182
                            [% CASE 'sort2' %]<th>Sort 2</th>
181
                            [% CASE 'action' %]<th class="noExport">&nbsp;</th>
183
                            [% CASE 'action' %]<th class="noExport">&nbsp;</th>
182
                        [% END %]
184
                        [% END %]
183
                    [% END %]
185
                    [% END %]
Lines 209-215 Link Here
209
[%# - redirect_if_attribute_equal: Name of the attribute to use for the redirect. Query using this attribute, before the normal search %]
211
[%# - redirect_if_attribute_equal: Name of the attribute to use for the redirect. Query using this attribute, before the normal search %]
210
[%# filter: Same as patron_search_table %]
212
[%# filter: Same as patron_search_table %]
211
[%# open_on_row_click: boolean, default off. Will allow to select a patron by clicking on the whole tr element %]
213
[%# open_on_row_click: boolean, default off. Will allow to select a patron by clicking on the whole tr element %]
212
[%# columns: list of columns that will be displayed. Possible values are: 'checkbox', 'cardnumber', 'dateofbirth', 'address', 'name', 'name-address', 'branch', 'category', 'dateexpiry', 'borrowernotes, 'phone', 'checkouts', 'account_balance', 'action' %]
214
[%# columns: list of columns that will be displayed. Possible values are: 'checkbox', 'cardnumber', 'dateofbirth', 'address', 'name', 'name-address', 'branch', 'category', 'dateexpiry', 'borrowernotes, 'phone', 'checkouts', 'account_balance', 'sort1', 'sort2', 'action' %]
213
[%# preview_on_name_click: Open a modal window with patron's info when the name is clicked %]
215
[%# preview_on_name_click: Open a modal window with patron's info when the name is clicked %]
214
[%# actions: list of buttons to display in the action column. Possible values are: 'select', 'add', 'edit', 'checkout' %]
216
[%# actions: list of buttons to display in the action column. Possible values are: 'select', 'add', 'edit', 'checkout' %]
215
[%# sticky_header and sticky_to: If we need a sticky header %]
217
[%# sticky_header and sticky_to: If we need a sticky header %]
Lines 614-619 Link Here
614
                                }
616
                                }
615
                            }
617
                            }
616
618
619
620
                            [% CASE 'sort1' %]
621
                            {
622
                                "data": "statistics_1",
623
                                "searchable": true,
624
                                "orderable": true,
625
                                "render": function( data, type, row, meta ) {
626
                                    return escape_str(data);
627
                                }
628
                            }
629
630
                            [% CASE 'sort2' %]
631
                            {
632
                                "data": "statistics_2",
633
                                "searchable": true,
634
                                "orderable": true,
635
                                "render": function( data, type, row, meta ) {
636
                                    return escape_str(data);
637
                                }
638
                            }
639
640
617
                            [% CASE 'action' %]
641
                            [% CASE 'action' %]
618
                            {
642
                            {
619
                                "data": function( row, type, val, meta ) {
643
                                "data": function( row, type, val, meta ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-2 / +1 lines)
Lines 10-16 Link Here
10
[% PROCESS 'patronfields.inc' %]
10
[% PROCESS 'patronfields.inc' %]
11
[% SET libraries = Branches.all %]
11
[% SET libraries = Branches.all %]
12
[% SET categories = Categories.all.unblessed %]
12
[% SET categories = Categories.all.unblessed %]
13
[% SET columns = ['cardnumber', 'name-address', 'phone', 'dateofbirth', 'branch', 'category', 'dateexpiry', 'checkouts', 'account_balance', 'borrowernotes', 'action'] %]
13
[% SET columns = ['cardnumber', 'name-address', 'phone', 'dateofbirth', 'branch', 'category', 'dateexpiry', 'checkouts', 'account_balance', 'borrowernotes', 'sort1', 'sort2', 'action'] %]
14
[% SET searchtype = searchtype || Koha.Preference('DefaultPatronSearchMethod') %]
14
[% SET searchtype = searchtype || Koha.Preference('DefaultPatronSearchMethod') %]
15
[% PROCESS 'patron-search.inc' %]
15
[% PROCESS 'patron-search.inc' %]
16
[% INCLUDE 'doc-head-open.inc' %]
16
[% INCLUDE 'doc-head-open.inc' %]
17
- 

Return to bug 34608