Bugzilla – Attachment 40511 Details for
Bug 14324
"Add Child" button missing on moremember.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14324: Display "Add Child" for Organisations on circ/circulation.pl
Bug-14324-Display-Add-Child-for-Organisations-on-c.patch (text/plain), 1.48 KB, created by
Jonathan Druart
on 2015-06-23 08:42:19 UTC
(
hide
)
Description:
Bug 14324: Display "Add Child" for Organisations on circ/circulation.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-06-23 08:42:19 UTC
Size:
1.48 KB
patch
obsolete
>From bb53a4c474bf8ed3ae5455ad90df866e558833c6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@koha-community.org> >Date: Tue, 23 Jun 2015 10:40:15 +0200 >Subject: [PATCH] Bug 14324: Display "Add Child" for Organisations on > circ/circulation.pl > >On moremember, the button is displayed for Organisations. >To be consistent, it should be displayed on the circulation page too. > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> >--- > circ/circulation.pl | 4 ++-- > members/moremember.pl | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index ab6db3b..7f3b612 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -420,8 +420,8 @@ if ($borrowernumber) { > } > } > $template->param( WaitingReserveLoop => \@WaitingReserveLoop ); >- $template->param( adultborrower => 1 ) >- if ( $borrower->{'category_type'} eq 'A' ); >+ >+ $template->param( adultborrower => 1 ) if ( $borrower->{category_type} eq 'A' || $borrower->{category_type} eq 'I' ); > } > > #title >diff --git a/members/moremember.pl b/members/moremember.pl >index 2dfcc95..6a5adcc 100755 >--- a/members/moremember.pl >+++ b/members/moremember.pl >@@ -205,7 +205,7 @@ else { > } > } > >-( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' || $category_type eq 'I' ); >+$template->param( adultborrower => 1 ) if ( $category_type eq 'A' || $category_type eq 'I' ); > > my %bor; > $bor{'borrowernumber'} = $borrowernumber; >-- >2.1.0
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 14324
:
40337
|
40426
|
40510
| 40511 |
45498