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

(-)a/C4/Utils/DataTables/Members.pm (+1 lines)
Lines 61-66 sub search { Link Here
61
61
62
    my $searchfields = {
62
    my $searchfields = {
63
        standard => 'surname,firstname,othernames,cardnumber,userid',
63
        standard => 'surname,firstname,othernames,cardnumber,userid',
64
        surname => 'surname',
64
        email => 'email,emailpro,B_email',
65
        email => 'email,emailpro,B_email',
65
        borrowernumber => 'borrowernumber',
66
        borrowernumber => 'borrowernumber',
66
        userid => 'userid',
67
        userid => 'userid',
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (+5 lines)
Lines 22-27 Link Here
22
              [% ELSE %]
22
              [% ELSE %]
23
                <option value='standard'>Standard</option>
23
                <option value='standard'>Standard</option>
24
              [% END %]
24
              [% END %]
25
              [% IF searchfieldstype == "surname" %]
26
                <option selected="selected" value='surname'>Surname</option>
27
              [% ELSE %]
28
                <option value='surname'>Surname</option>
29
              [% END %]
25
              [% IF searchfieldstype == "email" %]
30
              [% IF searchfieldstype == "email" %]
26
                <option selected="selected" value='email'>Email</option>
31
                <option selected="selected" value='email'>Email</option>
27
              [% ELSE %]
32
              [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-1 / +5 lines)
Lines 423-428 function filterByFirstLetterSurname(letter) { Link Here
423
                [% ELSE %]
423
                [% ELSE %]
424
                  <option value='standard'>Standard</option>
424
                  <option value='standard'>Standard</option>
425
                [% END %]
425
                [% END %]
426
                [% IF searchfieldstype == "surname" %]
427
                  <option selected="selected" value='surname'>Surname</option>
428
                [% ELSE %]
429
                  <option value='surname'>Surname</option>
430
                [% END %]
426
                [% IF searchfieldstype == "email" %]
431
                [% IF searchfieldstype == "email" %]
427
                  <option selected="selected" value='email'>Email</option>
432
                  <option selected="selected" value='email'>Email</option>
428
                [% ELSE %]
433
                [% ELSE %]
429
- 

Return to bug 16316