Bugzilla – Attachment 27772 Details for
Bug 12132
Show guarantees in staff patron details too
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Show guarantees for staff patron details too. Staffers are adult borrowers.
Signed-off-Show-guarantees-for-staff-patron-detail.patch (text/plain), 1.69 KB, created by
Marc Véron
on 2014-04-29 11:55:30 UTC
(
hide
)
Description:
[Signed-off] Show guarantees for staff patron details too. Staffers are adult borrowers.
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-04-29 11:55:30 UTC
Size:
1.69 KB
patch
obsolete
>From 9f15d67b5a0a715695c52e6beb358038b4084503 Mon Sep 17 00:00:00 2001 >From: Pasi Kallinen <pasi.kallinen@pttk.fi> >Date: Wed, 23 Apr 2014 14:24:25 +0300 >Subject: [PATCH] [Signed-off] Show guarantees for staff patron details too. > Staffers are adult borrowers. >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: > >1) Look at a staffer's detail page. Even if he or she has guarantees, they won't show up there. >2) Install patch >3) Look at a staffer's detail page. If the staffer has guarantees, they will be shown. > >http://bugs.koha-community.org/show_bug.cgi?id=12132 > >Followed test plan. Works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > members/moremember.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/members/moremember.pl b/members/moremember.pl >index d78cc1f..28f82ac 100755 >--- a/members/moremember.pl >+++ b/members/moremember.pl >@@ -171,7 +171,7 @@ if ( $category_type eq 'C') { > if ( $data->{'ethnicity'} || $data->{'ethnotes'} ) { > $template->param( printethnicityline => 1 ); > } >-if ( $category_type eq 'A' || $category_type eq 'I') { >+if ( $category_type eq 'A' || $category_type eq 'I' || $category_type eq 'S') { > $template->param( isguarantee => 1 ); > > # FIXME >@@ -191,7 +191,7 @@ if ( $category_type eq 'A' || $category_type eq 'I') { > ); > } > $template->param( guaranteeloop => \@guaranteedata ); >- ( $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' || $category_type eq 'S' ); > } > else { > if ($data->{'guarantorid'}){ >-- >1.7.10.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 12132
:
27516
|
27772
|
28294
|
28475
|
32787
|
32805