Bugzilla – Attachment 52549 Details for
Bug 16612
Cannot set "Until date" for "Enrollment period" for Patron Categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 16612 - Cannot set "Until date" for "Enrollment period" for Patron Categories
PASSED-QA-Bug-16612---Cannot-set-Until-date-for-En.patch (text/plain), 1.47 KB, created by
Katrin Fischer
on 2016-06-19 15:37:34 UTC
(
hide
)
Description:
[PASSED QA] Bug 16612 - Cannot set "Until date" for "Enrollment period" for Patron Categories
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-06-19 15:37:34 UTC
Size:
1.47 KB
patch
obsolete
>From e0a2bd5993e90af817329efd62f21d10867a4810 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 27 May 2016 14:12:20 +0000 >Subject: [PATCH] [PASSED QA] Bug 16612 - Cannot set "Until date" for > "Enrollment period" for Patron Categories > >Attempting to set an "Until date" date for "Enrollment period" will >result in the date being accepted but not saved. > >Test Plan: >1) Attempt to set an enrollment period until date for a new patron category >2) Note the period is not saved >3) Apply this patch >4) Attempt to set the enrollment period date again >5) This time it should save! > >Signed-off-by: Andrew Brenza <abrenza@audubonlibrary.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > admin/categories.pl | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > >diff --git a/admin/categories.pl b/admin/categories.pl >index 7d4e8d3..aeb12ee 100755 >--- a/admin/categories.pl >+++ b/admin/categories.pl >@@ -95,8 +95,14 @@ elsif ( $op eq 'add_validate' ) { > > my $is_a_modif = $input->param("is_a_modif"); > >- if ( $enrolmentperioddate ) { >- $enrolmentperioddate = output_pref({ dt => dt_from_string($enrolmentperioddate), dateformat => 'iso' }); >+ if ($enrolmentperioddate) { >+ $enrolmentperioddate = output_pref( >+ { >+ dt => dt_from_string($enrolmentperioddate), >+ dateformat => 'iso', >+ dateonly => 1, >+ } >+ ); > } > > if ($is_a_modif) { >-- >1.9.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 16612
:
51882
|
51883
| 52549