@@ -, +, @@
- Remove old code in C4/Utils/DataTables/Members.pm.
- Fix the AdditionalGuarantorField dead link for the borrowers table schema.
- Remove unused variables so QA tests pass.
---
C4/Utils/DataTables/Members.pm | 8 --------
.../intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref | 2 +-
members/moremember.pl | 2 --
3 files changed, 1 insertion(+), 11 deletions(-)
--- a/C4/Utils/DataTables/Members.pm
+++ a/C4/Utils/DataTables/Members.pm
@@ -58,14 +58,6 @@ sub search {
}
}
- # If branches are independent and user is not superlibrarian
- # The search has to be only on the user branch
- if ( C4::Context::only_my_library ) {
- my $userenv = C4::Context->userenv;
- $branchcode = $userenv->{'branch'};
-
- }
-
$dbh = C4::Context->dbh;
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);
if( my @guarantor_attributes = @{ get_guarantor_shared_attributes() }){
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
@@ -234,7 +234,7 @@ Patrons:
- "to access/change superlibrarian privileges."
- "
NOTE: A permitted user needs to have the 'permissions' flag (if no superlibrarian)."
-
- - "These additional following database columns will be transferred from guarantor to guarantee:"
+ - "These additional following database columns will be transferred from guarantor to guarantee:"
- pref: AdditionalGuarantorField
class: multi
- (separate columns with |)
--- a/members/moremember.pl
+++ a/members/moremember.pl
@@ -120,8 +120,6 @@ my $count = scalar @guarantees;
if ( $count ) {
$template->param( isguarantee => 1 );
- my @guaranteedata;
- my $amount;
my $totalmount = 0;
foreach my $guarantee (@guarantees){
--