Bugzilla – Attachment 4846 Details for
Bug 6669
If a patron search returns one result, redirect to patron details page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-6669-If-a-patron-search-returns-one-resu.patch (text/plain), 845 bytes, created by
Owen Leonard
on 2011-08-04 17:30:28 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-08-04 17:30:28 UTC
Size:
845 bytes
patch
obsolete
>From d4877f7a02e4428e68c24ba117be37c9a5c96763 Mon Sep 17 00:00:00 2001 >From: Henri-Damien LAURENT <henridamien.laurent@biblibre.com> >Date: Fri, 26 Feb 2010 16:06:35 +0100 >Subject: [PATCH] Fix for Bug 6669 - If a patron search returns one result, redirect to patron details page >Content-Type: text/plain; charset="utf-8" > >--- > members/member.pl | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/members/member.pl b/members/member.pl >index 2be45bc..724c996 100755 >--- 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; >-- >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 6669
: 4846