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 180-185 Link Here
180
                            [% CASE 'phone' %]<th>Phone</th>
180
                            [% CASE 'phone' %]<th>Phone</th>
181
                            [% CASE 'checkouts' %]<th>Checkouts</th>
181
                            [% CASE 'checkouts' %]<th>Checkouts</th>
182
                            [% CASE 'account_balance' %]<th>Fines</th>
182
                            [% CASE 'account_balance' %]<th>Fines</th>
183
                            [% CASE 'sort1' %]<th>Sort 1</th>
184
                            [% CASE 'sort2' %]<th>Sort 2</th>
183
                            [% CASE 'action' %]<th class="noExport">&nbsp;</th>
185
                            [% CASE 'action' %]<th class="noExport">&nbsp;</th>
184
                        [% END %]
186
                        [% END %]
185
                    [% END %]
187
                    [% END %]
Lines 211-217 Link Here
211
[%# - redirect_if_attribute_equal: Name of the attribute to use for the redirect. Query using this attribute, before the normal search %]
213
[%# - redirect_if_attribute_equal: Name of the attribute to use for the redirect. Query using this attribute, before the normal search %]
212
[%# filter: Same as patron_search_table %]
214
[%# filter: Same as patron_search_table %]
213
[%# open_on_row_click: boolean, default off. Will allow to select a patron by clicking on the whole tr element %]
215
[%# open_on_row_click: boolean, default off. Will allow to select a patron by clicking on the whole tr element %]
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', 'action' %]
216
[%# 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' %]
215
[%# preview_on_name_click: Open a modal window with patron's info when the name is clicked %]
217
[%# preview_on_name_click: Open a modal window with patron's info when the name is clicked %]
216
[%# actions: list of buttons to display in the action column. Possible values are: 'select', 'add', 'edit', 'checkout' %]
218
[%# actions: list of buttons to display in the action column. Possible values are: 'select', 'add', 'edit', 'checkout' %]
217
[%# sticky_header and sticky_to: If we need a sticky header %]
219
[%# sticky_header and sticky_to: If we need a sticky header %]
Lines 620-625 Link Here
620
                                }
622
                                }
621
                            }
623
                            }
622
624
625
626
                            [% CASE 'sort1' %]
627
                            {
628
                                "data": "statistics_1",
629
                                "searchable": true,
630
                                "orderable": true,
631
                                "render": function( data, type, row, meta ) {
632
                                    return escape_str(data);
633
                                }
634
                            }
635
636
                            [% CASE 'sort2' %]
637
                            {
638
                                "data": "statistics_2",
639
                                "searchable": true,
640
                                "orderable": true,
641
                                "render": function( data, type, row, meta ) {
642
                                    return escape_str(data);
643
                                }
644
                            }
645
646
623
                            [% CASE 'action' %]
647
                            [% CASE 'action' %]
624
                            {
648
                            {
625
                                "data": function( row, type, val, meta ) {
649
                                "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