Bugzilla – Attachment 30997 Details for
Bug 9011
Add the ability to store the last patron to return an item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 9011 [QA Followup 2] - Add message to OPAC
SIGNED-OFF-Bug-9011-QA-Followup-2---Add-message-to.patch (text/plain), 4.12 KB, created by
Nick Clemens
on 2014-08-19 20:19:44 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 9011 [QA Followup 2] - Add message to OPAC
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2014-08-19 20:19:44 UTC
Size:
4.12 KB
patch
obsolete
>From d73d77b6f7b7ae8cad3f4f78d1458b3bde37ad82 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 16 Jul 2014 08:04:50 -0400 >Subject: [PATCH] [SIGNED OFF] Bug 9011 [QA Followup 2] - Add message to OPAC > >* Adds warning to OPAC if StoreLastBorrower is enabled >* Updates db revision >* Fixes POD error > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> >--- > 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(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 832b7b4..426f501 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -3770,7 +3770,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 b73027f..3467911 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/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')"); > >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..624289a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >@@ -25,7 +25,13 @@ > <h3>Your privacy management</h3> > > [% IF ( deleted ) %] >- <div class="alert alert-success">Your reading history has been deleted.</div> >+ <div class="alert alert-success"> >+ [% 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 %] >+ </div> > [% ELSIF ( err_history_not_deleted ) %] > <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> > [% END %] >@@ -43,6 +49,12 @@ > <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> > </ul> > <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> >+ [% IF Koha.Preference('StoreLastBorrower') %] >+ <p id="note-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. >+ </p> >+ [% END %] > <p id="note2">Please also note that the library staff can't update these values for you: it's your privacy!</p> > <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-update-form"> > <input type="hidden" name="op" value="update_privacy" /> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9011
:
13258
|
15117
|
15200
|
16666
|
16763
|
16773
|
18676
|
20180
|
20181
|
20329
|
20342
|
20343
|
20344
|
22577
|
22578
|
22579
|
25866
|
25867
|
25868
|
25869
|
25870
|
25871
|
25872
|
25873
|
28923
|
28924
|
28925
|
29301
|
29745
|
29749
|
29750
|
29930
|
29931
|
30979
|
30993
|
30994
|
30995
|
30996
|
30997
|
30998
|
30999
|
32430
|
32431
|
32432
|
32433
|
32434
|
32435
|
32436
|
32437
|
32438
|
32439
|
32440
|
32441
|
32442
|
32443
|
32977
|
37113
|
37114
|
37115
|
37116
|
37117
|
38441
|
38442
|
38443
|
38444
|
38445
|
39812
|
39813
|
39814
|
39815
|
39816