Bugzilla – Attachment 46301 Details for
Bug 14480
Warns when modifying patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14480: Silences warn from editing patron
Bug-14480-Silences-warn-from-editing-patron.patch (text/plain), 2.02 KB, created by
Mark Tompsett
on 2016-01-06 01:56:42 UTC
(
hide
)
Description:
Bug 14480: Silences warn from editing patron
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2016-01-06 01:56:42 UTC
Size:
2.02 KB
patch
obsolete
>From 8c34f0b1f53a0b147afb098612c365dfe3868d93 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 29 Dec 2015 19:39:20 +0000 >Subject: [PATCH] Bug 14480: Silences warn from editing patron > >Argument "" isn't numeric in numeric lt (<) > >TEST PLAN >--------- >1) Go to any patron in staff client >2) Click 'Edit' >3) Check error logs > -- warnings should exist. >4) Apply patch >5) Reload page > -- warnings should not be triggered. >6) Add restriction and save >7) Go back to edit screen > -- restriction should be shown >8) Remove restriction and save >9) Go back to edit screen > -- Should say "Patron is currently unrestricted" >10) Run koha qa test tools. > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index e646890..8a8d3d4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -959,9 +959,7 @@ > <fieldset class="rows"> > <legend>Patron restrictions</legend> > >- [% IF ( debarments.size < 1 ) %] >- <p>Patron is currently unrestricted.</p> >- [% ELSE %] >+ [% IF ( debarments ) %] > <table> > <thead> > <tr> >@@ -989,7 +987,10 @@ > [% END %] > </tbody> > </table> >+ [% ELSE %] >+ <p>Patron is currently unrestricted.</p> > [% END %] >+ > [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] > <p><a href="#" id="add_manual_restriction">Add manual restriction</a></p> > <fieldset id="manual_restriction_form"> >-- >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 14480
:
40744
|
45677
|
45796
|
46025
|
46290
|
46300
|
46301
|
46305