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

(-)a/C4/Utils/DataTables/Members.pm (-8 lines)
Lines 58-71 sub search { Link Here
58
        }
58
        }
59
    }
59
    }
60
60
61
    # If branches are independent and user is not superlibrarian
62
    # The search has to be only on the user branch
63
    if ( C4::Context::only_my_library ) {
64
        my $userenv = C4::Context->userenv;
65
        $branchcode = $userenv->{'branch'};
66
67
    }
68
69
    $dbh = C4::Context->dbh;
61
    $dbh = C4::Context->dbh;
70
    my @columns = qw( borrowernumber surname firstname streetnumber streettype address address2 city state zipcode country cardnumber dateexpiry borrowernotes branchcode email userid dateofbirth categorycode phone phonepro mobile fax email emailpro);
62
    my @columns = qw( borrowernumber surname firstname streetnumber streettype address address2 city state zipcode country cardnumber dateexpiry borrowernotes branchcode email userid dateofbirth categorycode phone phonepro mobile fax email emailpro);
71
    if( my @guarantor_attributes = @{ get_guarantor_shared_attributes() }){
63
    if( my @guarantor_attributes = @{ get_guarantor_shared_attributes() }){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-1 / +1 lines)
Lines 234-240 Patrons: Link Here
234
         - "to access/change superlibrarian privileges."
234
         - "to access/change superlibrarian privileges."
235
         - "<br><strong>NOTE:</strong> A permitted user needs to have the 'permissions' flag (if no superlibrarian)."
235
         - "<br><strong>NOTE:</strong> A permitted user needs to have the 'permissions' flag (if no superlibrarian)."
236
     -
236
     -
237
         - "These additional following <a href='http://schema.koha-community.org/tables/borrowers.html' target='blank'>database columns</a> will be transferred from guarantor to guarantee:"
237
         - "These additional following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will be transferred from guarantor to guarantee:"
238
         - pref: AdditionalGuarantorField
238
         - pref: AdditionalGuarantorField
239
           class: multi
239
           class: multi
240
         - (separate columns with |)
240
         - (separate columns with |)
(-)a/members/moremember.pl (-3 lines)
Lines 120-127 my $count = scalar @guarantees; Link Here
120
if ( $count ) {
120
if ( $count ) {
121
    $template->param( isguarantee => 1 );
121
    $template->param( isguarantee => 1 );
122
122
123
    my @guaranteedata;
124
    my $amount;
125
    my $totalmount = 0;
123
    my $totalmount = 0;
126
124
127
    foreach my $guarantee (@guarantees){
125
    foreach my $guarantee (@guarantees){
128
- 

Return to bug 12446