Bugzilla – Attachment 4155 Details for
Bug 6328
Fine in days does not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow up, fixing layout in borrower details and debarment by overdue_notices.pl
0003-Bug-6328-make-comment-a-textbox-fix-debar-by-notice-.patch (text/plain), 2.28 KB, created by
Katrin Fischer
on 2011-05-17 19:09:12 UTC
(
hide
)
Description:
Follow up, fixing layout in borrower details and debarment by overdue_notices.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2011-05-17 19:09:12 UTC
Size:
2.28 KB
patch
obsolete
>From 9e9d2e4d00467db351a56e44dbae019fbd662567 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Tue, 17 May 2011 20:52:42 +0200 >Subject: [PATCH 3/4] Bug 6328: make comment a textbox / fix debar by notice trigger >Content-Type: text/plain; charset="utf-8" > >Debarring by notice triggers was broken, because the new function >expects a date as second parameter. > >The comment field in patron account details was a very long text field. >Patch changes it to be a textbox instead. >--- > .../prog/en/modules/members/memberentrygen.tt | 4 ++-- > misc/cronjobs/overdue_notices.pl | 2 +- > 2 files changed, 3 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 b86f8c3..611c100 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -992,8 +992,8 @@ > ); > </script> > <br /> >- <label for="debarredcomment" class="radio">comment:</label> >- <input type="text" id="debarredcomment" name="debarredcomment" value="[% debarredcomment %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] class="debarred" size="150"/> >+ <label for="debarredcomment" class="radio">Comment:</label> >+ <textarea id="debarredcomment" name="debarredcomment" cols="55" rows="3" [% IF ( opduplicate ) %] onclick="this.value=''"[% END %]>[% debarredcomment %]</textarea> > </li> > > </ol> >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index bc97ecb..1d7ce05 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -473,7 +473,7 @@ END_SQL > if ( $overdue_rules->{"debarred$i"} ) { > > #action taken is debarring >- C4::Members::DebarMember($borrowernumber); >+ C4::Members::DebarMember($borrowernumber, '9999-12-31'); > $verbose and warn "debarring $borrowernumber $firstname $lastname\n"; > } > my @params = ($listall ? ( $borrowernumber , 1 , $MAX ) : ( $borrowernumber, $mindays, $maxdays )); >-- >1.7.4.1 >
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 6328
:
4074
|
4098
|
4152
|
4153
|
4154
|
4155
|
4156
|
4186
|
4187
|
4188
|
4277
|
5283
|
5561
|
5841
|
6019
|
6421
|
6429
|
7248