[koha-commits] main Koha release repository branch master updated. v16.11.00-546-g19cbebc

Git repo owner gitmaster at git.koha-community.org
Fri Mar 3 19:24:46 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  19cbebc9b6dc061c6c9525a224a0c6d4a7b6d604 (commit)
       via  ff647be07c54191f1c1ee5693be96bf4d0040672 (commit)
      from  b6cb18c4a8292cabe5fd611b349b51d5c79b5fe4 (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 19cbebc9b6dc061c6c9525a224a0c6d4a7b6d604
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Feb 27 13:28:20 2017 +0000

    Bug 18169: Add test without before parameter for search_patrons_to_anonymise
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit ff647be07c54191f1c1ee5693be96bf4d0040672
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Feb 24 13:26:29 2017 +0100

    Bug 18169: Make 'before' param non mandatory for Koha::Patrons->anonymise_issue_history
    
    From opac-privacy.pl:
    
        # delete all reading records for items returned
        # uses a hardcoded date ridiculously far in the future
    
        my $rows = eval {
            Koha::Patrons->search({ 'me.borrowernumber' => $borrowernumber })->anonymise_issue_history( { before => '2999-12-12' } );
        };
    
    It sounds better to make this before parameter not mandatory, and remove the condition from the sql query if it is not passed.
    
    Test plan:
    1. Anonymise your reading history at the OPAC.
    2. Confirm that all your reading history has been anonymised
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 Koha/Patrons.pm               |   19 ++++++++++----
 opac/opac-privacy.pl          |    4 +--
 t/db_dependent/Koha/Patrons.t |   57 +++++++++++++++++++++++++++++++++--------
 3 files changed, 62 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list