projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2e894
)
Adding search on ISSN for z3950_search.pl
author
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Mon, 26 May 2008 14:37:06 +0000
(16:37 +0200)
committer
Joshua Ferraro
<jmf@liblime.com>
Fri, 30 May 2008 18:52:14 +0000
(13:52 -0500)
seems that search on ISSN was not taken into account adding @or @attr 1=8
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
cataloguing/z3950_search.pl
patch
|
blob
|
history
diff --git
a/cataloguing/z3950_search.pl
b/cataloguing/z3950_search.pl
index
6eef8d4
..
ed659e6
100755
(executable)
--- a/
cataloguing/z3950_search.pl
+++ b/
cataloguing/z3950_search.pl
@@
-111,7
+111,7
@@
else {
if ($isbn || $issn) {
$term=$isbn if ($isbn);
$term=$issn if ($issn);
- $query .= " \@attr 1=7 \"$term\" ";
+ $query .= " \@
or \@attr 1=8 \"$term\" \@
attr 1=7 \"$term\" ";
$nterms++;
}
if ($title) {