Bugzilla – Attachment 61339 Details for
Bug 18304
Do not mail cart or list contents to the library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18304: Do not mail cart or list contents to the library
Bug-18304-Do-not-mail-cart-or-list-contents-to-the.patch (text/plain), 3.53 KB, created by
Jonathan Druart
on 2017-03-20 19:40:15 UTC
(
hide
)
Description:
Bug 18304: Do not mail cart or list contents to the library
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-03-20 19:40:15 UTC
Size:
3.53 KB
patch
obsolete
>From 6ce3ee93ac7055765c53de369579117e80d34998 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 20 Mar 2017 12:58:42 +0100 >Subject: [PATCH] Bug 18304: Do not mail cart or list contents to the library > >Sometimes we receive mails from patrons, sent from opac-sendbasket or >opac-sendshelf. Instead of placing a hold on books they send the contents >of the cart (or even a list). > >This patch simply puts a note on both forms saying that they should not >use the mail to request or renew books. If both options are disabled on >the OPAC, the message is not shown. > >Test plan: >[1] Enable RequestOnOPAC. >[2] Put a book in the cart. >[3] Open the cart, click on Send. Verify presence of the message. >[4] Open a list. >[5] Click on Send list. Verify presence of the message. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt | 2 ++ > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt | 2 ++ > 2 files changed, 4 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >index fed5013..0ca5498 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >@@ -1,3 +1,4 @@ >+[% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Sending your cart</title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -36,6 +37,7 @@ > <input type="hidden" name="bib_list" value="[% bib_list %]" /> > <input type="hidden" name="csrf_token" value="[% csrf_token %]" /> > </fieldset> >+ [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p>Please do not use this mail to request or renew books.</p>[% END %] > <fieldset class="action"> > <input type="submit" class="btn" value="Send" /> > <a class="cancel close" href="#">Cancel</a> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >index c5e9fe8..ab16bd5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >@@ -1,3 +1,4 @@ >+[% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Sending your list</title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -40,6 +41,7 @@ > > <input type="hidden" name="shelfid" value="[% shelfid %]" /> > </fieldset> >+ [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p>Please do not use this mail to request or renew books.</p>[% END %] > <fieldset class="action"> > <input type="submit" value="Send" class="btn" /> > <a class="cancel close" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelfid %]">Cancel</a> >-- >2.9.3
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 18304
:
61285
|
61317
| 61339 |
61346