Bugzilla – Attachment 33500 Details for
Bug 13233
Patron search by birth date tooltip broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13233 - Patron search by birth date tooltip broken
Bug-13233---Patron-search-by-birth-date-tooltip-br.patch (text/plain), 1.55 KB, created by
Owen Leonard
on 2014-11-12 17:36:25 UTC
(
hide
)
Description:
Bug 13233 - Patron search by birth date tooltip broken
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-11-12 17:36:25 UTC
Size:
1.55 KB
patch
obsolete
>From 64c919cc973d5c855af147f52d44186cb3b810fe Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 11 Nov 2014 14:55:00 -0500 >Subject: [PATCH] Bug 13233 - Patron search by birth date tooltip broken >Content-Type: text/plain; charset="utf-8" > >When the user selects a patron search by birth date a tooltip is >supposed to appear showing the date format requirement. Bug 9811 (Patron >search improvement) changed the ID on which the tooltip depended to >function. This patch corrects it. > >To test, apply the patch and go to the Patrons home page in the staff >client. In the header search form select "Date of birth" from the >"search fields" dropdown. This should trigger a tooltip showing the >required date format. >--- > .../prog/en/includes/patron-search.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index 47cd2ad..6ae7a2c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -56,7 +56,7 @@ > > <script type="text/javascript"> > [% SET dateformat = Koha.Preference('dateformat') %] >- $("#searchfields").change(function() { >+ $("#searchfieldstype").change(function() { > if ( $(this).val() == 'dateofbirth' ) { > [% IF dateformat == 'us' %] > var MSG_DATE_FORMAT = _("Dates of birth should be entered in the format 'MM/DD/YYYY'"); >-- >1.7.9.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 13233
:
33500
|
33549
|
33584