[Koha-bugs] [Bug 18795] REST API: DELETE (anonymize) checkout history

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 22 15:14:48 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18795

Johanna Räisä <johanna.raisa at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94548|0                           |1
        is obsolete|                            |

--- Comment #7 from Johanna Räisä <johanna.raisa at koha-suomi.fi> ---
Created attachment 94552
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94552&action=edit
Bug 18795: (follow-up) Check whether patrons exists  before deleting history

Running $patrons->anonymise_issue_history after checking patrons
exists is more logical even though $patrons->anonymise_issue_history()
can handle 0 patrons returned in the search. Also this way we don't
have to run anonymise_issue_history() code unless needed, thus making
the code finish faster.

Signed-off-by: Johanna Raisa <johanna.raisa at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list