Bugzilla – Attachment 46729 Details for
Bug 15548
New patron related code should have been put to Patron instead of Borrower
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15548 [QA Followup] - Catch a couple new Koha::Borrower uses
Bug-15548-QA-Followup---Catch-a-couple-new-KohaBor.patch (text/plain), 1.02 KB, created by
Kyle M Hall (khall)
on 2016-01-15 18:44:22 UTC
(
hide
)
Description:
Bug 15548 [QA Followup] - Catch a couple new Koha::Borrower uses
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-01-15 18:44:22 UTC
Size:
1.02 KB
patch
obsolete
>From 32b3379051bf6be09336a626573723b3ebaafbcc Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 15 Jan 2016 18:38:03 +0000 >Subject: [PATCH] Bug 15548 [QA Followup] - Catch a couple new Koha::Borrower > uses > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > admin/branches.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/admin/branches.pl b/admin/branches.pl >index 918b10c..3e92015 100755 >--- a/admin/branches.pl >+++ b/admin/branches.pl >@@ -24,7 +24,7 @@ use C4::Auth; > use C4::Context; > use C4::Output; > use C4::Koha; >-use Koha::Borrowers; >+use Koha::Patrons; > use Koha::Items; > use Koha::Libraries; > use Koha::LibraryCategories; >@@ -122,7 +122,7 @@ if ( $op eq 'add_form' ) { > }, > } > )->count; >- my $patrons_count = Koha::Borrowers->search( { branchcode => $branchcode, } )->count; >+ my $patrons_count = Koha::Patrons->search( { branchcode => $branchcode, } )->count; > > if ( $items_count or $patrons_count ) { > push @messages, >-- >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 15548
:
46489
|
46634
|
46728
|
46729
|
47103
|
47104
|
48111
|
48112
|
48142
|
48588
|
48589
|
48590