[koha-commits] main Koha release repository branch 19.11.x updated. v19.11.03-41-g30e12584a7

Git repo owner gitmaster at git.koha-community.org
Fri Mar 6 02:19:33 CET 2020


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, 19.11.x has been updated
       via  30e12584a7c6e635abd0e02be1fbbf67f5ae4929 (commit)
      from  96e251732266112274b1019b677e7b60a2a2808a (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 30e12584a7c6e635abd0e02be1fbbf67f5ae4929
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Feb 17 18:18:48 2020 +0100

    Bug 24677: (bug 24002 follow-up) Incorrect DATE value: '00-00-0000' in C4/Serials.pm
    
    Oops, wrong copy/paste here! The column order changes was not expected.
    
    From bug 24002:
      commit 3d3336ed6607d80b72502075ebf9567cf48e1709
      Bug 24002: Incorrect DATE value: '00-00-0000' in C4/Serials.pm
    
    The changes from this patch are like:
    -            year(IF(serial.publisheddate="00-00-0000",serial.planneddate,serial.publisheddate)) as year,
    +            year(IF(serial.publisheddate IS NULL,serial.publisheddate,serial.planneddate)) as year,
    
    This is stilly, if publisheddate is null we do not want to return it.
    
    It comes from a wrong copy/paste from the other commits:
    -                        ORDER BY IF(publisheddate<>'0000-00-00',publisheddate,planneddate) DESC";
    +                        ORDER BY IF(publisheddate IS NULL,planneddate,publisheddate) DESC";
    
    ="00-00-0000" vs <>"0000-00-00"
    
    Test plan:
    Eyeball the previous patches from bug 24002 and notice that the changes in the commit listed previously are wrong
    
    Signed-off-by: Janusz Kaczmarek <januszop at gmail.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

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

Summary of changes:
 C4/Serials.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list