[koha-commits] main Koha release repository branch master updated. v16.11.00-431-g745c4c3
Git repo owner
gitmaster at git.koha-community.org
Fri Feb 17 12:29:11 CET 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 745c4c3da662ac71874f9be8e88d111bc6fe8b1c (commit)
via 6ee62d4917481f77db26f858491266cb86d2252c (commit)
via 083a8f7b7274bdf9e9547bee60366259374c1c20 (commit)
from 7698f6453c6c14b4986d573c33f0e49cd73652c6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 745c4c3da662ac71874f9be8e88d111bc6fe8b1c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jan 19 11:20:33 2017 +0100
Bug 17933: Do not instanciate a patron if not needed
Signed-off-by: Dobrica Pavlinusic <dpavlin at rot13.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 6ee62d4917481f77db26f858491266cb86d2252c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jan 19 11:13:36 2017 +0100
Bug 17933: Add test and return unless defined dob
Without this patch get_age return actually 0 instead of
Signed-off-by: Dobrica Pavlinusic <dpavlin at rot13.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 083a8f7b7274bdf9e9547bee60366259374c1c20
Author: Dobrica Pavlinusic <dpavlin at rot13.org>
Date: Wed Jan 18 17:12:30 2017 +0100
Bug 17933 - Internal software error when searching patron without birth date
When patrons don't have date of birth (which is not required) patron
search results on moremember page produce internal server error since we
can't convert MySQL invalid date 0000-00-00 to datetime object and
call strfdate on it.
Additionally, since we assign dates to template variables and after
than assign whole $data hash to template, later assigment overrides
previous one, so we see birth date field even for patrons which don't
have one.
This patch fixes both of those problems.
Test:
1. edit patron and remove it's birth date
2. try to search for it, and verify server error
3. apply patch
4. repeat search for patron and verify that it works and doesn't
have enpty birth date field
Signed-off-by: Grace McKenzie <grace.mcky at gmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Patron.pm | 1 +
members/moremember.pl | 6 ++++--
t/db_dependent/Koha/Patrons.t | 4 +++-
3 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list