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 185-192 my $count = scalar @guarantees; Link Here
185
if ( $count ) {
185
if ( $count ) {
186
    $template->param( isguarantee => 1 );
186
    $template->param( isguarantee => 1 );
187
187
188
    my @guaranteedata;
189
    my $amount;
190
    my $totalmount = 0;
188
    my $totalmount = 0;
191
189
192
    foreach my $guarantee (@guarantees){
190
    foreach my $guarantee (@guarantees){
193
- 

Return to bug 12446