@@ -, +, @@ --- C4/Circulation.pm | 2 +- installer/data/mysql/updatedatabase.pl | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt | 14 +++++++++++++- 3 files changed, 15 insertions(+), 3 deletions(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -3770,7 +3770,7 @@ sub GetAgeRestriction { return $restriction_year; } -=head AnonymizeItemIssueHistory +=head2 AnonymizeItemIssueHistory AnonymizeItemIssueHistory({ itemnumber => $itemnumber }); --- a/installer/data/mysql/updatedatabase.pl +++ a/installer/data/mysql/updatedatabase.pl @@ -8613,7 +8613,7 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } -$DBversion = "3.13.00.XXX"; +$DBversion = "3.17.00.XXX"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('StoreLastBorrower','0','','If ON, the last borrower to return an item will be stored in items.last_returned_by','YesNo')"); --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt @@ -25,7 +25,13 @@

Your privacy management

[% IF ( deleted ) %] -
Your reading history has been deleted.
+
+ [% IF Koha.Preference('StoreLastBorrower') %] + Your reading history has been deleted, except for those items you are the last person to have returned. + [% ELSE %] + Your reading history has been deleted. + [% END %] +
[% ELSIF ( err_history_not_deleted ) %]
The deletion of your reading history failed, because there is a problem with the configuration of this feature. Please help to fix the system by informing your library of this error.
[% END %] @@ -43,6 +49,12 @@
  • Never: Delete my reading history immediately. This will delete all record of the item that was checked-out upon check-in.
  • Please note that information on any book still checked-out must be kept by the library no matter which privacy option you choose.

    + [% IF Koha.Preference('StoreLastBorrower') %] +

    + The library will also track the last patron to have returned an item. + If you check out and return an item, the librarian will retain a record of that checkout until another patron checks out and returns that item. +

    + [% END %]

    Please also note that the library staff can't update these values for you: it's your privacy!

    --