Bugzilla – Attachment 29749 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]
Bug 9011 [QA Followup 2] - Add message to OPAC
Bug-9011-QA-Followup-2---Add-message-to-OPAC.patch (text/plain), 3.05 KB, created by
Kyle M Hall (khall)
on 2014-07-16 12:11:12 UTC
(
hide
)
Description:
Bug 9011 [QA Followup 2] - Add message to OPAC
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-07-16 12:11:12 UTC
Size:
3.05 KB
patch
obsolete
>From d8dce454160c9d645edf84edb7f5b450f0865fa1 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] 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..e40f9a5 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 @@ > <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 checked out 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.2.5
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