Bugzilla – Attachment 45796 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.50 KB, created by
Aleisha Amohia
on 2015-12-18 00:25:37 UTC
(
hide
)
Description:
Bug 14480: Silences warn from editing patron
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-12-18 00:25:37 UTC
Size:
1.50 KB
patch
obsolete
>From 0901aae61227af757386eb182b703a1f68523e5c Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Fri, 18 Dec 2015 00:23:24 +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 | 4 ++-- > 1 file changed, 2 insertions(+), 2 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 57d3fe1..759f058 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -941,9 +941,9 @@ > <fieldset class="rows"> > <legend>Patron restrictions</legend> > >- [% IF ( debarments.size == 0 ) %] >+ [% IF ( debarments.size != 1 ) %] > <p>Patron is currently unrestricted.</p> >- [% ELSE %] >+ [% ELSE %] > <table> > <thead> > <tr> >-- >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