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

(-)a/admin/columns_settings.yml (+6 lines)
Lines 1060-1065 modules: Link Here
1060
              columnname: fines
1060
              columnname: fines
1061
            -
1061
            -
1062
              columnname: circ_notes
1062
              columnname: circ_notes
1063
            -
1064
              columnname: sort1
1065
              is_hidden: 1
1066
            -
1067
              columnname: sort2
1068
              is_hidden: 1
1063
            -
1069
            -
1064
              columnname: actions
1070
              columnname: actions
1065
              cannot_be_toggled: 1
1071
              cannot_be_toggled: 1
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-1 / +25 lines)
Lines 162-167 Link Here
162
                            [% CASE 'phone' %]<th>Phone</th>
162
                            [% CASE 'phone' %]<th>Phone</th>
163
                            [% CASE 'checkouts' %]<th>Checkouts</th>
163
                            [% CASE 'checkouts' %]<th>Checkouts</th>
164
                            [% CASE 'account_balance' %]<th>Fines</th>
164
                            [% CASE 'account_balance' %]<th>Fines</th>
165
                            [% CASE 'sort1' %]<th>Sort 1</th>
166
                            [% CASE 'sort2' %]<th>Sort 2</th>
165
                            [% CASE 'action' %]<th class="noExport">&nbsp;</th>
167
                            [% CASE 'action' %]<th class="noExport">&nbsp;</th>
166
                        [% END %]
168
                        [% END %]
167
                    [% END %]
169
                    [% END %]
Lines 200-206 Link Here
200
[%# - redirect_if_attribute_equal: Name of the attribute to use for the redirect. Query using this attribute, before the normal search %]
202
[%# - redirect_if_attribute_equal: Name of the attribute to use for the redirect. Query using this attribute, before the normal search %]
201
[%# filter: Same as patron_search_table %]
203
[%# filter: Same as patron_search_table %]
202
[%# open_on_row_click: boolean, default off. Will allow to select a patron by clicking on the whole tr element %]
204
[%# open_on_row_click: boolean, default off. Will allow to select a patron by clicking on the whole tr element %]
203
[%# 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' %]
205
[%# 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' %]
204
[%# preview_on_name_click: Open a modal window with patron's info when the name is clicked %]
206
[%# preview_on_name_click: Open a modal window with patron's info when the name is clicked %]
205
[%# actions: list of buttons to display in the action column. Possible values are: 'select', 'add', 'edit', 'checkout' %]
207
[%# actions: list of buttons to display in the action column. Possible values are: 'select', 'add', 'edit', 'checkout' %]
206
[%# sticky_header and sticky_to: If we need a sticky header %]
208
[%# sticky_header and sticky_to: If we need a sticky header %]
Lines 612-617 Link Here
612
                                }
614
                                }
613
                            }
615
                            }
614
616
617
618
                            [% CASE 'sort1' %]
619
                            {
620
                                "data": "statistics_1",
621
                                "searchable": true,
622
                                "orderable": true,
623
                                "render": function( data, type, row, meta ) {
624
                                    return escape_str(data);
625
                                }
626
                            }
627
628
                            [% CASE 'sort2' %]
629
                            {
630
                                "data": "statistics_2",
631
                                "searchable": true,
632
                                "orderable": true,
633
                                "render": function( data, type, row, meta ) {
634
                                    return escape_str(data);
635
                                }
636
                            }
637
638
615
                            [% CASE 'action' %]
639
                            [% CASE 'action' %]
616
                            {
640
                            {
617
                                "data": function( row, type, val, meta ) {
641
                                "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', 'dateofbirth', 'branch', 'category', 'dateexpiry', 'checkouts', 'account_balance', 'borrowernotes', 'action'] %]
13
[% SET columns = ['cardnumber', 'name-address', '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