Go to file
Ian Walls 12f6201ea9 Bug 7134: patron records getting corrupted birthdates
If no date of birth is provided in a new member form, the borrower gets the birthdate of "00/02/0", which
is obviously incorrect (the result of passing 0 to the database directly)

The fix is to remove a conditional check buried deep in C4::SQLHelper.  This is in a helper subroutine that was changed
for the Unified Member Search dev (bug 6253).  Reverting this small change to the conditional does not seem to break
search, but testing will be required.

To test:
1. apply patch, and create a new patron with blank birthdate.  The new patron should now have a blank birthdate instead of '00/02/0'
2. search for a borrower by 1 part surname, confirm search works
3. search for a borrower by 2 part surname, confirm search works
4. search for a borrower across firstname AND surname; confirm
5. search for a borrower and include categorycode/branchcode filters

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
I confirm all working tests 1-5
1. Created patron with blank birthdate - birthdate was blank
2. Searched for patron "henry james acevedo III" by using "acevedo" - result was correct
3. Searched for mr. acevedo using "Acevedo III" - result was correct
4. Searched for Henry James Acevedo III, Henry Acevedo and James Acevedo - results were correct
5. Searched for Mr Acevedo with the branch he was not in, with the branch he is in, with a category he was not, and a category he was. All results were correct.

also noted: inner searching seems to be working now? Example: Henry James (firstname) Acevedo III (surname) - searching James Acevedo brings back the correct patron.
Not complaining, just noting. :)

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 440c0f21ee)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-11-19 21:06:28 -05:00
C4 Bug 7134: patron records getting corrupted birthdates 2011-11-19 21:06:28 -05:00
acqui Bug 4161: Preselect active currency for new vendors 2011-11-16 12:39:23 -05:00
admin Bug 6679: Fixing admin/aqplain :encoding(UTF-8) gives strict validation 2011-11-16 09:21:44 -05:00
authorities Bug 6977 : Adds support for repeatable subfields when importing authorities. 2011-10-19 15:54:35 -04:00
basket Bug 6129 - [3.4.x] this adds an ISSN to serialssolutions URLs 2011-09-13 20:29:28 -04:00
catalogue Bug 6905: [3.4.x] change which page clicking users in circ history takes you to 2011-10-25 20:05:38 -04:00
cataloguing Bug 6679 : Tidying changed parts of file 2011-11-16 09:21:29 -05:00
circ Bug 6285 strange order in CSV upload 2011-10-25 19:33:26 -04:00
debian Bug 6929 - ensure that koha-stop-zebra will try to stop everything 2011-10-25 19:32:45 -04:00
docs updating history.txt : 3.6.0 & 3.4.6 & KohaCon11 & Joy Nelson 160th 2011-11-17 21:01:53 -05:00
errors Housekeeping in errors scripts 2010-05-12 07:29:03 -04:00
etc Bug 2629: Add diacritic support for Ů (U with ring) 2011-11-16 12:39:08 -05:00
install_misc Bug 7063: add available perl packages for Debian in install_misc/debian.packages 2011-10-25 19:45:26 -04:00
installer Updating Version Number to 3.04.06.000 2011-11-09 13:54:18 -05:00
koha-tmpl Make all strings translatable in marc21_field_007.tt 2011-11-17 21:01:39 -05:00
labels Bug 7207 - Reverting a portion of commit 607b5449bd which breaks the label export script. 2011-11-16 12:41:42 -05:00
members Bug 5945: email not searchable in patron search 2011-11-16 09:22:16 -05:00
misc (bug #4518) enhance 2.2 to 3.0 scripts 2011-11-16 12:39:38 -05:00
offline_circ bug 2975: whitespace and formatting cleanup 2011-03-07 14:35:21 +13:00
opac Notify the user on his account page when his account is almost expired 2011-11-16 09:06:51 -05:00
patroncards bug_6253: Unified member Search() 2011-10-25 19:32:30 -04:00
reports Fix for Bug 6602 - Reports dictionary doesn't properly recognize text columns 2011-09-02 14:42:34 -04:00
reserve bug_6770: removed doubled override increment when using AllowHoldPolicyOverride 2011-10-25 19:56:33 -04:00
reviews Modifying Members : Add Mod and GetMember 2009-09-30 11:29:23 +02:00
rotating_collections Bug 6553 : Follow up adding license statements 2011-08-14 13:41:07 -04:00
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials Bug 6479 Converts all the serialseq variables to UTF-8. 2011-09-04 21:05:27 -04:00
skel installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion Bug 7117: Bug 7117 - Small display problems when organising suggestion tabs by name 2011-11-16 09:01:18 -05:00
svc bug 4896: granular permissions now always on (DB rev 138) 2010-06-19 07:56:03 -04:00
t bug_5533: Improved marking items as lost 2011-10-25 19:54:56 -04:00
tags Fix for Bug 2377 - Review tags: format date according to system preference 2010-10-06 09:31:56 -04:00
test bug 5309: tweak so that background progress doesn't exit immediately 2010-10-26 12:14:46 -04:00
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt 2007-10-21 19:14:41 -05:00
tools bug_5533: Improved marking items as lost 2011-10-25 19:54:56 -04:00
virtualshelves Bug 6555 : only 10 lists show in the staff client 2011-09-09 22:16:23 -04:00
xt Bug 6458 Template Toolkit files test case 2011-08-18 06:53:48 -04:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
INSTALL Updating perl version required to match reality 2011-10-25 19:25:12 -04:00
INSTALL.debian Bug 5468: removin apt-get-debian-lenny and updating INSTALL.debian 2011-08-03 22:43:25 -04:00
INSTALL.fedora7 fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
INSTALL.opensuse Updating INSTALL.opensuse file with the changes by Freek de Kruijf 2011-06-13 20:52:22 -04:00
INSTALL.ubuntu Updating upgrade information to note the fact language templates need 2011-06-13 20:52:35 -04:00
INSTALL.ubuntu.lucid Updating upgrade information to note the fact language templates need 2011-06-13 20:52:35 -04:00
LICENSE Update LICENSE with a fresh copy from upstream. This updates the FSF address, and refers to the LGPL with its current name, and changes a few other minor things of the typographical sort. No semantic changes. 2010-03-16 20:17:48 -04:00
MANIFEST.SKIP Bug Fixing : 3334 2009-06-19 06:33:34 -05:00
Makefile.PL Updating perl version required to match reality 2011-10-25 19:25:12 -04:00
README updated links in README 2010-05-24 08:14:16 -04:00
README.robots Bug 6411 add another example to README.robots 2011-07-10 14:32:31 -04:00
about.pl Bug 6755 Problems with switching languages 2011-10-08 12:21:25 -04:00
changelanguage.pl Bug 6755 Problems with switching languages 2011-10-08 12:21:25 -04:00
edithelp.pl Bug 6649 Allow help screens editing 2011-10-08 12:52:12 -04:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Bug 6649 Allow help screens editing 2011-10-08 12:52:12 -04:00
install-CPAN.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
koha_perl_deps.pl Bug 6915 - [SIGNED-OFF] reduce module name truncation problem in koha_perl_deps.pl 2011-10-19 16:03:34 -04:00
kohaversion.pl Updating Version Number to 3.04.06.000 2011-11-09 13:54:18 -05:00
mainpage.pl remove last vestiges of NOTMARC mode 2010-10-21 21:06:52 -04:00
rewrite-config.PL Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00

README

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/