[koha-commits] main Koha release repository branch 17.11.x updated. v17.11.16-2-g954cf66

Git repo owner gitmaster at git.koha-community.org
Thu Mar 7 09:35:22 CET 2019


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, 17.11.x has been updated
       via  954cf660780797f8cc658e6bcbe4d082ce314b24 (commit)
      from  ca0aa482df9915d5c7f4ec49880f1b76ddbc58ba (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 954cf660780797f8cc658e6bcbe4d082ce314b24
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Wed Feb 13 13:25:20 2019 +0100

    Bug 22323: cronjob runreport.pl CSV add encoding
    
    Cronjob runreport.pl runs SQL reports and can export as CSV.
    This export needs to be UTF-8 encoded.
    
    This pathes replaces use of Text::CSV_XS by Text::CSV::Encoded like in other places like tools/viewlog.pl.
    It adds a decode of headers bcause they will be encoded lika other lines.
    
    Test plan:
    1) Create a new item with itemnotes 'accentué'
    2) Create a SQL report with :
    SELECT barcode,itemnotes AS itè FROM items WHERE itemnotes LIKE 'accenté'
    3) Run this report
    4) You see well encoded header and content
    5) Run from command line (replace X by report number) :
    misc/cronjobs/runreport.pl X --format=csv --csv-header --store-results
    6) You well encoded header and content
    7) Go to saved reports table
    8) Look at saved results of report
    9) You well encoded header and content
    
    Signed-off-by: Mikaël Olangcay Brisebois <mikael.olangcay-brisebois at inLibro.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 83fe95d0c5d404a2ffc6ed35e822ff0f5ee8b6e6)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 0ad76960cd24b3f12eb5c0e7058f02cd13ba1ac0)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit bde83720d4f1995bf5047f9429545a56bda3eddc)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 misc/cronjobs/runreport.pl |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list