Bugzilla – Attachment 56359 Details for
Bug 5670
Housebound Readers Module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5670: remove useless call to ->new when ->search is enought
Bug-5670-remove-useless-call-to--new-when--search-.patch (text/plain), 1.13 KB, created by
Claire Gravely
on 2016-10-13 11:46:44 UTC
(
hide
)
Description:
Bug 5670: remove useless call to ->new when ->search is enought
Filename:
MIME Type:
Creator:
Claire Gravely
Created:
2016-10-13 11:46:44 UTC
Size:
1.13 KB
patch
obsolete
>From 3c211fc04019cf03fe1dd07c42c08877101e6235 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 28 Sep 2016 10:21:44 +0100 >Subject: [PATCH] Bug 5670: remove useless call to ->new when ->search is > enought > >Signed-off-by: Claire Gravely <claire_gravely@hotmail.com> >--- > members/housebound.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/members/housebound.pl b/members/housebound.pl >index 2fa0fb0..ad3e88d 100755 >--- a/members/housebound.pl >+++ b/members/housebound.pl >@@ -117,8 +117,8 @@ if ( $method eq 'updateconfirm' and $houseboundprofile ) { > $method = undef; > } elsif ( $method eq 'visit_update_or_create' ) { > # We want to edit, edit a visit, so we must pass its details. >- $deliverers = Koha::Patrons->new->search_housebound_deliverers; >- $choosers = Koha::Patrons->new->search_housebound_choosers; >+ $deliverers = Koha::Patrons->search_housebound_deliverers; >+ $choosers = Koha::Patrons->search_housebound_choosers; > $houseboundvisit = $visit; > } elsif ( $method eq 'visit_delete' and $visit ) { > # We want ot delete a specific visit. >-- >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 5670
:
3038
|
22162
|
22163
|
22164
|
22165
|
26816
|
27288
|
50930
|
51377
|
51875
|
54384
|
54385
|
55326
|
55334
|
55335
|
55336
|
55734
|
55735
|
55736
|
55737
|
55738
|
55739
|
55865
|
55866
|
55867
|
55890
|
55891
|
56298
|
56299
|
56300
|
56301
|
56302
|
56308
|
56337
|
56341
|
56346
|
56347
|
56348
|
56349
|
56350
|
56351
|
56352
|
56353
|
56354
|
56355
|
56356
|
56357
|
56358
|
56359
|
56360
|
56361
|
56362
|
56363
|
56364
|
56365
|
56366
|
56367
|
56368
|
56369
|
56580
|
56581
|
56582
|
56583
|
56584
|
56585
|
56586
|
56587
|
56588
|
56589
|
56590
|
56591
|
56592
|
56593
|
56594
|
56595
|
56596
|
56597
|
56598
|
56599
|
56600
|
56601
|
56602
|
56603
|
56604
|
56605
|
56606