projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a36ca
)
Fix for Bug 6669 - If a patron search returns one result, redirect to patron details...
author
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Thu, 4 Aug 2011 06:57:28 +0000
(
02:57
-0400)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Thu, 4 Aug 2011 22:26:52 +0000
(10:26 +1200)
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
members/member.pl
patch
|
blob
|
history
diff --git
a/members/member.pl
b/members/member.pl
index
2be45bc
..
724c996
100755
(executable)
--- a/
members/member.pl
+++ b/
members/member.pl
@@
-115,6
+115,12
@@
if ($results) {
}
$count = scalar(@$results);
}
+
+if($count == 1){
+ print $input->redirect("/cgi-bin/koha/members/moremember.pl?borrowernumber=" . @$results[0]->{borrowernumber});
+ exit;
+}
+
my @resultsdata;
$to=($count>$to?$to:$count);
my $index=$from;