From: wolfpac444 Date: Thu, 8 May 2003 14:12:29 +0000 (+0000) Subject: Fixed bug #405 X-Git-Tag: R_1-9-3~38 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=0499df0045cbb71decf07195c0f03a0ccb8f1ec5;p=koha_fer Fixed bug #405 --- diff --git a/C4/Search.pm b/C4/Search.pm index 8ee2df0e6a..e192de5cf5 100755 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -84,7 +84,7 @@ of references to hash, which gives the actual results. sub findguarantees{ my ($bornum)=@_; my $dbh = C4::Context->dbh; - my $query="select cardnumber,borrowernumber from borrowers where + my $query="select cardnumber,borrowernumber, firstname, surname from borrowers where guarantor='$bornum'"; my $sth=$dbh->prepare($query); $sth->execute; diff --git a/koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl b/koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl index 2cfba5b6a7..ad660288e7 100644 --- a/koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl @@ -46,7 +46,7 @@ Relationship:
Notes:

- Guarantees:">
+ Guarantees:
"> -
Guarantor: diff --git a/moremember.pl b/moremember.pl index b808aafcec..2451be475c 100755 --- a/moremember.pl +++ b/moremember.pl @@ -99,7 +99,8 @@ if ($data->{'categorycode'} ne 'C'){ my @guaranteedata; for (my $i=0;$i<$count;$i++){ push (@guaranteedata, {borrowernumber => $guarantees->[$i]->{'borrowernumber'}, - cardnumber => $guarantees->[$i]->{'cardnumber'}}); + cardnumber => $guarantees->[$i]->{'cardnumber'}, + name => $guarantees->[$i]->{'firstname'} . " " . $guarantees->[$i]->{'surname'}}); } $template->param(guaranteeloop => \@guaranteedata);