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 228-234 Patrons: Link Here
228
         - "to access/change superlibrarian privileges."
228
         - "to access/change superlibrarian privileges."
229
         - "<br><strong>NOTE:</strong> A permitted user needs to have the 'permissions' flag (if no superlibrarian)."
229
         - "<br><strong>NOTE:</strong> A permitted user needs to have the 'permissions' flag (if no superlibrarian)."
230
    -
230
    -
231
         - "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:"
231
         - "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:"
232
         - pref: AdditionalGuarantorField
232
         - pref: AdditionalGuarantorField
233
           class: multi
233
           class: multi
234
         - (separate columns with |)
234
         - (separate columns with |)
(-)a/members/moremember.pl (-3 lines)
Lines 123-130 my $count = scalar @guarantees; Link Here
123
if ( $count ) {
123
if ( $count ) {
124
    $template->param( isguarantee => 1 );
124
    $template->param( isguarantee => 1 );
125
125
126
    my @guaranteedata;
127
    my $amount;
128
    my $totalmount = 0;
126
    my $totalmount = 0;
129
127
130
    foreach my $guarantee (@guarantees){
128
    foreach my $guarantee (@guarantees){
131
- 

Return to bug 12446