Bugzilla – Attachment 46025 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), 1.43 KB, created by
Aleisha Amohia
on 2015-12-29 19:40:23 UTC
(
hide
)
Description:
Bug 14480: Silences warn from editing patron
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-12-29 19:40:23 UTC
Size:
1.43 KB
patch
obsolete
>From a709fd6034e52a4af52e51fb941328fb8de5b232 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 > >To test: >1) Go to any patron (ie this link http://localhost:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=1369) >2) Click Edit >3) Notice the warn appears >4) Apply patch and reload page >5) Notice warns are gone but page still works correctly >6) Add restriction and save, then go back to Edit >7) Confirm restriction shows as it should >8) Remove restriction and save, then go back to Edit >9) Confirm it says "Patron is currently unrestricted". >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 a3b7a9d..5898582 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -941,7 +941,7 @@ > <fieldset class="rows"> > <legend>Patron restrictions</legend> > >- [% IF ( debarments.size < 1 ) %] >+ [% IF ( debarments.size = 'NULL' ) %] > <p>Patron is currently unrestricted.</p> > [% ELSE %] > <table> >-- >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 14480
:
40744
|
45677
|
45796
|
46025
|
46290
|
46300
|
46301
|
46305