From 47d135f1233a5b19e3ee4cb3d969dab7516a6267 Mon Sep 17 00:00:00 2001 From: plugz Date: Fri, 20 Jun 2003 08:48:16 +0000 Subject: [PATCH] Bugfix for #499 Simple search added, searching in the first letter of surnames. Added commentary inside Search.pm for explanations --- C4/Search.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index d1d29d6c80..718b95730e 100755 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1723,7 +1723,9 @@ Looks up patrons (borrowers) by name. C<$env> is ignored. -BUGFIX 499: C<$type> is now used to determine +BUGFIX 499: C<$type> is now used to determine type of search. +if $type is "simple", search is performed on the first letter of the +surname only. C<$searchstring> is a space-separated list of search terms. Each term must match the beginning a borrower's surname, first name, or other -- 2.39.5