Bugzilla – Attachment 33549 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.62 KB, created by
Frédéric Demians
on 2014-11-14 08:27:18 UTC
(
hide
)
Description:
Bug 13233 - Patron search by birth date tooltip broken
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2014-11-14 08:27:18 UTC
Size:
1.62 KB
patch
obsolete
>From cbd5fde3f8c7540416fd051afddcd90deb06be28 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 > >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. > >Signed-off-by: Frederic Demians <f.demians@tamil.fr> > >I confirm the tooltip comeback with this patch. >--- > koha-tmpl/intranet-tmpl/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'"); >-- >2.1.2
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