Bugzilla – Attachment 3205 Details for
Bug 3469
Lost patron card tracking
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow-up corrections
0002-Follow-up-corrections-for-Bug-3469-Lost-patron-card-.patch (text/plain), 3.22 KB, created by
Owen Leonard
on 2011-02-24 14:56:07 UTC
(
hide
)
Description:
Follow-up corrections
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-02-24 14:56:07 UTC
Size:
3.22 KB
patch
obsolete
>From b68ad07077334a2e3ee1fcd8bcfe5538d0fc8a8f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 24 Feb 2011 09:52:33 -0500 >Subject: [PATCH 2/2] Follow-up corrections for Bug 3469 - Lost patron card tracking >Content-Type: text/plain; charset="utf-8" > >--- > C4/Stats.pm | 2 +- > .../prog/en/modules/members/moremember.tmpl | 27 +++++++++---------- > 2 files changed, 14 insertions(+), 15 deletions(-) > >diff --git a/C4/Stats.pm b/C4/Stats.pm >index f6ad16e..dde4a94 100644 >--- a/C4/Stats.pm >+++ b/C4/Stats.pm >@@ -122,7 +122,7 @@ sub GetPreviousCardnumbers { > my ( $borrowernumber ) = @_; > my $dbh = C4::Context->dbh; > >- my $member = C4::Members::GetMember( $borrowernumber ); >+ my $member = C4::Members::GetMember( borrowernumber => $borrowernumber ); > my $cardnumber = $member->{'cardnumber'}; > > my $query = "SELECT DISTINCT(other) AS previous_cardnumber, DATE_FORMAT( datetime, '%m/%e/%Y') as previous_cardnumber_date FROM statistics WHERE type = 'card_replaced' AND borrowernumber = ? AND other != ? AND other !='' "; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl >index fe35040..f0fa2f9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl >@@ -342,28 +342,27 @@ function validate1(date) { > </div> > <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=3">Edit</a></div> > >- <!-- TMPL_IF NAME="CAN_user_borrowers_edit_borrowers" --> >- <!-- TMPL_IF NAME="previousCardnumbersLoop" --> >- <div id="previouscardnumbers" > >- <h3>Previous Cardnumbers</h3> >- <ul> >- <form method="post" action="restore_cardnumber.pl"> >- <table border="0"><tr><td> >- <select name="previous_cardnumber" id="previous_cardnumber" size="<!-- TMPL_VAR NAME="previousCardnumbersCount" -->"> >+ <!-- TMPL_IF NAME="previousCardnumbersLoop" --> >+ <div id="previouscardnumbers" style="padding-top:1em"> >+ <h3>Previous Card numbers</h3> >+ <form method="post" action="restore_cardnumber.pl"> >+ <div class="rows"> >+ <ol> >+ <li><select name="previous_cardnumber" id="previous_cardnumber" size="<!-- TMPL_VAR NAME="previousCardnumbersCount" -->"> > <!-- TMPL_LOOP NAME="previousCardnumbersLoop" --> > <!--TMPL_IF NAME="previous_cardnumber" --> > <option value="<!-- TMPL_VAR NAME="previous_cardnumber" -->"><!-- TMPL_VAR NAME="previous_cardnumber" --> : <!-- TMPL_VAR NAME="previous_cardnumber_date" --></option> > <!-- /TMPL_IF --> > <!-- /TMPL_LOOP --> >- </select></td> >+ </select> > <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /> >- <td><input type="submit" value="Restore" /></td> >- </table> >- </form> >- </ul> >+ <input type="submit" value="Restore" /></li> >+ </ol> >+ </form> >+ </div> >+ <div class="action"></div> > </div> > <!-- /TMPL_IF --> >- <!-- /TMPL_IF --> > > <div id="patron-alternate-address" style="padding-top: 1em;"> > <h3>Alternate Address</h3> >-- >1.7.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 3469
:
1326
|
3202
| 3205