Bugzilla – Attachment 54371 Details for
Bug 15407
Move the patron categories related code to Koha::Patron::Categories - part 2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15407: Uniformise calls in patron-attr-types
Bug-15407-Uniformise-calls-in-patron-attr-types.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2016-08-12 11:58:22 UTC
(
hide
)
Description:
Bug 15407: Uniformise calls in patron-attr-types
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-12 11:58:22 UTC
Size:
1.20 KB
patch
obsolete
>From 72c198ef5db852f6ed57e309b5a12d4201bd4a3f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 12 Aug 2016 12:56:22 +0100 >Subject: [PATCH] Bug 15407: Uniformise calls in patron-attr-types > >Does not make sense to call first in list context and later in scalar >context. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > admin/patron-attr-types.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl >index 8d44f70..1fcbc7c 100755 >--- a/admin/patron-attr-types.pl >+++ b/admin/patron-attr-types.pl >@@ -271,12 +271,12 @@ sub edit_attribute_type_form { > category_description => $attr_type->category_description, > ); > >- my @patron_categories = Koha::Patron::Categories->search({}, {order_by => ['description']}); >+ my $patron_categories = Koha::Patron::Categories->search({}, {order_by => ['description']}); > $template->param( > attribute_type_form => 1, > edit_attribute_type => 1, > confirm_op => 'edit_attribute_type_confirmed', >- categories => \@patron_categories, >+ categories => $patron_categories, > ); > > } >-- >2.8.1
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 15407
:
45906
|
45907
|
45908
|
45909
|
45910
|
45913
|
45914
|
47098
|
47099
|
47100
|
47101
|
47102
|
47646
|
47647
|
47648
|
47649
|
47650
|
47754
|
47755
|
47756
|
47757
|
47758
|
50170
|
50171
|
50172
|
50173
|
50174
|
52013
|
52014
|
52015
|
52032
|
52033
|
52034
|
52035
|
52036
|
53419
|
53420
|
53421
|
53422
|
53423
|
53892
|
54342
|
54343
|
54344
|
54345
|
54346
|
54352
|
54353
|
54355
|
54361
|
54362
|
54363
|
54364
|
54365
|
54366
|
54367
|
54368
|
54369
| 54371 |
55517