Bugzilla – Attachment 14368 Details for
Bug 8845
Add ability search patrons by date of birth
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8845 - Add ability search patrons by date of birth - Add tooltip
Bug-8845---Add-ability-search-patrons-by-date-of-b.patch (text/plain), 2.70 KB, created by
Kyle M Hall (khall)
on 2013-01-02 18:55:06 UTC
(
hide
)
Description:
Bug 8845 - Add ability search patrons by date of birth - Add tooltip
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-01-02 18:55:06 UTC
Size:
2.70 KB
patch
obsolete
>From a42599e5d20110410d14228bf1b4704a73284170 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 2 Oct 2012 10:01:11 -0400 >Subject: [PATCH] Bug 8845 - Add ability search patrons by date of birth - Add tooltip > >--- > .../prog/en/includes/doc-head-close.inc | 1 + > .../prog/en/includes/patron-search.inc | 22 ++++++++++++++++++++ > 2 files changed, 23 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >index 32eae21..ff2ba0e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >@@ -13,6 +13,7 @@ > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.hotkeys.min.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.cookie.min.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.highlight-3.js"></script> >+<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.qtip.js"></script> > [% IF ( login ) %] > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/login.css" /> > [% END %] >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 1881d57..4109879 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -19,6 +19,28 @@ > <option value='streettype,address,address2,city,state,zipcode,country'>Street Address</option> > <option value='dateofbirth'>Date of birth</option> > </select> >+ <script type="text/javascript"> >+ $("#searchfields").change(function() { >+ if ( $(this).val() == 'dateofbirth' ) { >+ [% IF dateformat == 'us' %] >+ [% SET format = 'MM/DD/YYYY' %] >+ [% ELSIF dateformat == 'iso' %] >+ [% SET format = 'YYYY-MM-DD' %] >+ [% ELSIF dateformat == 'metric' %] >+ [% SET format = 'DD/MM/YYYY' %] >+ [% END %] >+ >+ $('#searchmember').qtip({ >+ content: 'Dates of birth should be entered in the format "[% format %]"', >+ style: { >+ tip: 'topLeft' >+ } >+ }) >+ } else { >+ $('#searchmember').qtip('destroy'); >+ } >+ }); >+ </script> > > <label for="orderby">Order by:</label> > <select name="orderby" id="searchorderby"> >-- >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 8845
:
12601
|
12608
|
12639
|
14293
|
14367
|
14368
|
14392
|
14393
|
15556
|
15557
|
15558
|
18437
|
18438
|
18439
|
18508
|
18509
|
18510
|
18511