projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b788108
)
Added support for author searching to KeywordSearch
author
wolfpac444
<wolfpac444>
Sun, 10 Aug 2003 00:38:47 +0000
(
00:38
+0000)
committer
wolfpac444
<wolfpac444>
Sun, 10 Aug 2003 00:38:47 +0000
(
00:38
+0000)
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
bfa1583
..
7351c9e
100755
(executable)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-340,7
+340,7
@@
EOT
# For each field we're searching on, create a subclause that'll
# match the current keyword in the current field.
- foreach my $field (qw(title notes seriestitle))
+ foreach my $field (qw(title notes seriestitle
author
))
{
push @subclauses,
"$field LIKE '\Q$keyword\E%' OR $field LIKE '% \Q$keyword\E%'";