---
 C4/Members.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Members.pm b/C4/Members.pm
index 7df9424..6a34c0e 100644
--- a/C4/Members.pm
+++ b/C4/Members.pm
@@ -164,7 +164,7 @@ sub SearchMember {
     my $count;
     my @data;
     my @bind = ();
-    
+    $orderby.=",firstname,othernames" if $orderby=~/name/;
     # this is used by circulation everytime a new borrowers cardnumber is 
scanned
     # so we can check an exact match first, if that works return, otherwise do 
the rest
     $query = "SELECT * FROM borrowers
-- 
1.5.4.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to