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

(-)a/admin/columns_settings.yml (+6 lines)
Lines 988-993 modules: Link Here
988
              columnname: fines
988
              columnname: fines
989
            -
989
            -
990
              columnname: circ_notes
990
              columnname: circ_notes
991
            -
992
              columnname: sort1
993
              is_hidden: 1
994
            -
995
              columnname: sort2
996
              is_hidden: 1
991
            -
997
            -
992
              columnname: actions
998
              columnname: actions
993
              cannot_be_toggled: 1
999
              cannot_be_toggled: 1
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-1 / +25 lines)
Lines 161-166 Link Here
161
                            [% CASE 'phone' %]<th>Phone</th>
161
                            [% CASE 'phone' %]<th>Phone</th>
162
                            [% CASE 'checkouts' %]<th>Checkouts</th>
162
                            [% CASE 'checkouts' %]<th>Checkouts</th>
163
                            [% CASE 'account_balance' %]<th>Fines</th>
163
                            [% CASE 'account_balance' %]<th>Fines</th>
164
                            [% CASE 'sort1' %]<th>Sort 1</th>
165
                            [% CASE 'sort2' %]<th>Sort 2</th>
164
                            [% CASE 'action' %]<th>&nbsp;</th>
166
                            [% CASE 'action' %]<th>&nbsp;</th>
165
                        [% END %]
167
                        [% END %]
166
                    [% END %]
168
                    [% END %]
Lines 199-205 Link Here
199
[%# - redirect_if_attribute_equal: Name of the attribute to use for the redirect. Query using this attribute, before the normal search %]
201
[%# - redirect_if_attribute_equal: Name of the attribute to use for the redirect. Query using this attribute, before the normal search %]
200
[%# filter: Same as patron_search_table %]
202
[%# filter: Same as patron_search_table %]
201
[%# open_on_row_click: boolean, default off. Will allow to select a patron by clicking on the whole tr element %]
203
[%# open_on_row_click: boolean, default off. Will allow to select a patron by clicking on the whole tr element %]
202
[%# 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' %]
204
[%# 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' %]
203
[%# preview_on_name_click: Open a modal window with patron's info when the name is clicked %]
205
[%# preview_on_name_click: Open a modal window with patron's info when the name is clicked %]
204
[%# actions: list of buttons to display in the action column. Possible values are: 'select', 'add', 'edit', 'checkout' %]
206
[%# actions: list of buttons to display in the action column. Possible values are: 'select', 'add', 'edit', 'checkout' %]
205
[%# sticky_header and sticky_to: If we need a sticky header %]
207
[%# sticky_header and sticky_to: If we need a sticky header %]
Lines 610-615 Link Here
610
                                }
612
                                }
611
                            }
613
                            }
612
614
615
616
                            [% CASE 'sort1' %]
617
                            {
618
                                "data": "statistics_1",
619
                                "searchable": true,
620
                                "orderable": true,
621
                                "render": function( data, type, row, meta ) {
622
                                    return escape_str(data);
623
                                }
624
                            }
625
626
                            [% CASE 'sort2' %]
627
                            {
628
                                "data": "statistics_2",
629
                                "searchable": true,
630
                                "orderable": true,
631
                                "render": function( data, type, row, meta ) {
632
                                    return escape_str(data);
633
                                }
634
                            }
635
636
613
                            [% CASE 'action' %]
637
                            [% CASE 'action' %]
614
                            {
638
                            {
615
                                "data": function( row, type, val, meta ) {
639
                                "data": function( row, type, val, meta ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-2 / +1 lines)
Lines 8-14 Link Here
8
[% PROCESS 'patronfields.inc' %]
8
[% PROCESS 'patronfields.inc' %]
9
[% SET libraries = Branches.all %]
9
[% SET libraries = Branches.all %]
10
[% SET categories = Categories.all.unblessed %]
10
[% SET categories = Categories.all.unblessed %]
11
[% SET columns = ['cardnumber', 'name-address', 'dateofbirth', 'branch', 'category', 'dateexpiry', 'checkouts', 'account_balance', 'borrowernotes', 'action'] %]
11
[% SET columns = ['cardnumber', 'name-address', 'dateofbirth', 'branch', 'category', 'dateexpiry', 'checkouts', 'account_balance', 'borrowernotes', 'sort1', 'sort2', 'action'] %]
12
[% SET searchtype = Koha.Preference('DefaultPatronSearchMethod') %]
12
[% SET searchtype = Koha.Preference('DefaultPatronSearchMethod') %]
13
[% PROCESS 'patron-search.inc' %]
13
[% PROCESS 'patron-search.inc' %]
14
[% INCLUDE 'doc-head-open.inc' %]
14
[% INCLUDE 'doc-head-open.inc' %]
15
- 

Return to bug 34608