Bugzilla – Attachment 41185 Details for
Bug 6756
Patron anonymizing tool reports false success in anonymous patron not defined
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6756: Add info messages
Bug-6756-Add-info-messages.patch (text/plain), 2.28 KB, created by
Mark Tompsett
on 2015-07-25 00:16:01 UTC
(
hide
)
Description:
Bug 6756: Add info messages
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2015-07-25 00:16:01 UTC
Size:
2.28 KB
patch
obsolete
>From 97283ed88f5feaf9d6856fe1e06983b5582dc126 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 14 Jul 2015 11:38:41 +0100 >Subject: [PATCH] Bug 6756: Add info messages > >NOTE: Before patch "./misc/cronjobs/batch_anonymise.pl --help" had no > message, and neither did the anonymizing tool in the staff client. > After the patch, both had informative messages. > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt | 4 ++++ > misc/cronjobs/batch_anonymise.pl | 1 + > 2 files changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt >index bd505fb..7de7652 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt >@@ -1,3 +1,4 @@ >+[% USE Koha %] > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Tools › Batch patron deletion/anonymization [% IF step == 2 %]› Confirm[% END %][% IF step == 3 %]› Finished[% END %]</title> >@@ -91,6 +92,9 @@ > </fieldset> > <fieldset> > <legend>Anonymize checkout history</legend> >+ [% UNLESS Koha.Preference('AnonymousPatron') %] >+ <div class="dialog message">The AnonymousPatron system preference is not defined. You can use this feature anyway but NULL will be used to update the checkout history.</div> >+ [% END %] > <h3><input id="checkissue" type="checkbox" name="checkbox" value="issue" /><label for="checkissue"> Verify you want to anonymize patron checkout history</label></h3> > <br /> > <ul> >diff --git a/misc/cronjobs/batch_anonymise.pl b/misc/cronjobs/batch_anonymise.pl >index 3ce77d4..45868dc 100755 >--- a/misc/cronjobs/batch_anonymise.pl >+++ b/misc/cronjobs/batch_anonymise.pl >@@ -46,6 +46,7 @@ Usage: $0 --days DAYS [-h|--help] > -v --verbose gives a little more information > -h --help prints this help message, and exits, ignoring all > other options >+Note: If the system preference 'AnonymousPatron' is not defined, NULL will be used. > USAGE > exit $_[0]; > } >-- >2.1.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 6756
:
40985
|
40986
|
41184
|
41185
|
42493
|
42494