From 41bf14a87de8e5dd0a7f8bba5037e59ff7ec7cfd Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 16 Jul 2014 08:04:50 -0400 Subject: [PATCH] Bug 9011 [QA Followup 2] - Add message to OPAC * Adds warning to OPAC if StoreLastBorrower is enabled * Updates db revision * Fixes POD error --- C4/Circulation.pm | 2 +- installer/data/mysql/updatedatabase.pl | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-privacy.tt | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index e28a6ff..f765086 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3750,7 +3750,7 @@ sub GetAgeRestriction { return $restriction_year; } -=head AnonymizeItemIssueHistory +=head2 AnonymizeItemIssueHistory AnonymizeItemIssueHistory({ itemnumber => $itemnumber }); diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index fc46152..2693691 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -8570,7 +8570,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')"); diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt index bc731cd..9b788e9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt @@ -43,6 +43,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!

    -- 1.7.2.5