main Koha release repository branch master updated. v16.11.00-546-g19cbebc

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

main Koha release repository branch master updated. v16.11.00-546-g19cbebc

Git repo owner
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 <[hidden email]>
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 <[hidden email]>
   
    Signed-off-by: Kyle M Hall <[hidden email]>

commit ff647be07c54191f1c1ee5693be96bf4d0040672
Author: Jonathan Druart <[hidden email]>
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 <[hidden email]>
   
    Signed-off-by: Kyle M Hall <[hidden email]>

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

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
_______________________________________________
koha-commits mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits
Loading...