View | Details | Raw Unified | Return to bug 9011
Collapse All | Expand All

(-)a/C4/Circulation.pm (-1 / +1 lines)
Lines 3770-3776 sub GetAgeRestriction { Link Here
3770
    return $restriction_year;
3770
    return $restriction_year;
3771
}
3771
}
3772
3772
3773
=head AnonymizeItemIssueHistory
3773
=head2 AnonymizeItemIssueHistory
3774
3774
3775
    AnonymizeItemIssueHistory({ itemnumber => $itemnumber });
3775
    AnonymizeItemIssueHistory({ itemnumber => $itemnumber });
3776
3776
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 8613-8619 if ( CheckVersion($DBversion) ) { Link Here
8613
    SetVersion($DBversion);
8613
    SetVersion($DBversion);
8614
}
8614
}
8615
8615
8616
$DBversion = "3.13.00.XXX";
8616
$DBversion = "3.17.00.XXX";
8617
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
8617
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
8618
   $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')");
8618
   $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')");
8619
8619
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt (-2 / +13 lines)
Lines 25-31 Link Here
25
                    <h3>Your privacy management</h3>
25
                    <h3>Your privacy management</h3>
26
26
27
                    [% IF ( deleted ) %]
27
                    [% IF ( deleted ) %]
28
                        <div class="alert alert-success">Your reading history has been deleted.</div>
28
                        <div class="alert alert-success">
29
                            [% IF Koha.Preference('StoreLastBorrower') %]
30
                                Your reading history has been deleted, except for those items you are the last person to have returned.
31
                            [% ELSE %]
32
                                Your reading history has been deleted.
33
                            [% END %]
34
                        </div>
29
                    [% ELSIF ( err_history_not_deleted ) %]
35
                    [% ELSIF ( err_history_not_deleted ) %]
30
                        <div class="alert">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.</div>
36
                        <div class="alert">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.</div>
31
                    [% END %]
37
                    [% END %]
Lines 43-48 Link Here
43
                                <li class="privacy2">Never: Delete my reading history immediately. This will delete all record of the item that was checked-out upon check-in.</li>
49
                                <li class="privacy2">Never: Delete my reading history immediately. This will delete all record of the item that was checked-out upon check-in.</li>
44
                            </ul>
50
                            </ul>
45
                            <p id="note1">Please note that information on any book still checked-out must be kept by the library no matter which privacy option you choose.</p>
51
                            <p id="note1">Please note that information on any book still checked-out must be kept by the library no matter which privacy option you choose.</p>
52
                            [% IF Koha.Preference('StoreLastBorrower') %]
53
                                <p id="note-StoreLastBorrower">
54
                                    The library will also track the last patron to have returned an item.
55
                                    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.
56
                                </p>
57
                            [% END %]
46
                            <p id="note2">Please also note that the library staff can't update these values for you: it's your privacy!</p>
58
                            <p id="note2">Please also note that the library staff can't update these values for you: it's your privacy!</p>
47
                            <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-update-form">
59
                            <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-update-form">
48
                                <input type="hidden" name="op" value="update_privacy" />
60
                                <input type="hidden" name="op" value="update_privacy" />
49
- 

Return to bug 9011