[koha-commits] main Koha release repository branch master updated. v16.11.00-34-g167c74b

Git repo owner gitmaster at git.koha-community.org
Fri Dec 9 17:25:17 CET 2016


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  167c74bfd386287783e101989b804077b1020369 (commit)
      from  32354d8322afd05704d87cb38d9bc032ce8c4ec1 (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 167c74bfd386287783e101989b804077b1020369
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Nov 23 10:06:04 2016 +0000

    Bug 15822: Fix 500 error when searching if items.onloan=0000-00-00
    
    The calls
      output_pref({ dt => dt_from_string( $date ) })
    are wrong and should be replaced with
      output_pref({ str => $date })
    For better error handling.
    
    Here we fix the problem of items.onloan when searching
    
    Test plan:
    - Set items.onloan=0000-00-00 (UPDATE items SET onloan='0000-00-00')
    This can come from old data or bad migration
    - Execute a search
    => Without this patch you get
    Can't locate object method "ymd" via package "dateonly" (perhaps you forgot to load "dateonly"?) at /home/vagrant/kohaclone/Koha/DateUtils.pm line 225.
    => With this patch you won't get the error
    
    Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Search.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list