Bugzilla – Attachment 47396 Details for
Bug 10612
Add ability to delete patrons with batch patron deletion tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10612 - Change _skip_borrowers_with_fines to _skip_borrowers_with_fines_or_issues
Bug-10612---Change-skipborrowerswithfines-to-skipb.patch (text/plain), 1.02 KB, created by
Nick Clemens (kidclamp)
on 2016-01-28 16:05:43 UTC
(
hide
)
Description:
Bug 10612 - Change _skip_borrowers_with_fines to _skip_borrowers_with_fines_or_issues
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-01-28 16:05:43 UTC
Size:
1.02 KB
patch
obsolete
>From 4b8bc7b31a1e02244b1ca0574aa62c5cc5a7aeb8 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 28 Jan 2016 16:02:53 +0000 >Subject: [PATCH] Bug 10612 - Change _skip_borrowers_with_fines to > _skip_borrowers_with_fines_or_issues > >Restore code that was moved to bug 15642 >--- > tools/cleanborrowers.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/tools/cleanborrowers.pl b/tools/cleanborrowers.pl >index b986460..7e0db06 100755 >--- a/tools/cleanborrowers.pl >+++ b/tools/cleanborrowers.pl >@@ -189,9 +189,10 @@ $template->param( > #writing the template > output_html_with_http_headers $cgi, $cookie, $template->output; > >-sub _skip_borrowers_with_nonzero_balance { >+sub _skip_borrowers_with_nonzero_balance_or_issues { > my $borrowers = shift; > my $balance; >+ my $issues; > @$borrowers = map { > (undef, $issues, $balance) = GetMemberIssuesAndFines( $_->{borrowernumber} || $_->get_column('borrowernumber') ); > ($balance != 0 || $issues!= 0) ? (): ($_); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10612
:
19766
|
19767
|
21081
|
21444
|
21445
|
21446
|
22837
|
22838
|
28779
|
28780
|
36311
|
36313
|
36314
|
36315
|
41289
|
41363
|
41364
|
41365
|
46239
|
46279
|
46280
|
46834
|
47153
|
47224
|
47225
|
47226
|
47255
|
47259
|
47393
|
47394
|
47395
|
47396
|
47478
|
48833
|
48881
|
48888
|
48890
|
48891
|
48892
|
49596
|
49597
|
49607
|
49694
|
49740
|
49741
|
49766
|
49767
|
49768
|
49769
|
49770