Bugzilla – Attachment 28294 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]
[PASSED QA] Show guarantees for staff patron details too. Staffers are adult borrowers.
PASSED-QA-Show-guarantees-for-staff-patron-details.patch (text/plain), 1.65 KB, created by
Kyle M Hall (khall)
on 2014-05-16 11:23:16 UTC
(
hide
)
Description:
[PASSED QA] Show guarantees for staff patron details too. Staffers are adult borrowers.
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-05-16 11:23:16 UTC
Size:
1.65 KB
patch
obsolete
>From d8a88c293bee711717a53221a5a89b0d81e0eff2 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] [PASSED QA] Show guarantees for staff patron details too. Staffers are adult borrowers. > >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 Veron <veron@veron.ch> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > members/moremember.pl | 4 ++-- > 1 files 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.2.5
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